HostFunctionsgetElement Method |
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.5
Syntaxpublic 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
- Type: System.DynamicIDynamicMetaObjectProvider
The dynamic host object that contains the element to get. - indices
- Type: SystemObject
One or more indices that identify the element to get.
Return Value
Type:
ObjectThe value of the specified element.
Remarks
This function is provided for script languages that do not support general indexing.
See Also