HostFunctionsgetElement Method |
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public Object getElement(
IDynamicMetaObjectProvider target,
params Object[] indices
)
Public Function getElement (
target As IDynamicMetaObjectProvider,
ParamArray indices As Object()
) As Object
public:
Object^ getElement(
IDynamicMetaObjectProvider^ target,
... array<Object^>^ indices
)
member getElement :
target : IDynamicMetaObjectProvider *
indices : Object[] -> Object
Parameters
- target IDynamicMetaObjectProvider
- The dynamic host object that contains the element to get.
- indices Object
- One or more indices that identify the element to get.
Return Value
ObjectThe value of the specified element.
Remarks
This function is provided for script languages that do not support general indexing.
See Also