Click or drag to resize

HostFunctionsgetElement Method

Gets the value of an element in a dynamic host object that implements IDynamicMetaObjectProvider.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
public Object getElement(
	IDynamicMetaObjectProvider target,
	params Object[] indices
)

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

Object
The value of the specified element.
Remarks
This function is provided for script languages that do not support general indexing.
See Also