Click or drag to resize

HostFunctionssetElement Method

Sets an element value in a dynamic host object that implements IDynamicMetaObjectProvider.

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


target  IDynamicMetaObjectProvider
The dynamic host object that contains the element to set.
value  Object
The new value of the element.
indices  Object
One or more indices that identify the element to set.

Return Value

The result of the operation, which is usually the value assigned to the specified element.
This function is provided for script languages that do not support general indexing.
See Also