Click or drag to resize

HostFunctionsremoveElement Method

Removes an element from a dynamic host object that implements IDynamicMetaObjectProvider.

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

Parameters

target
Type: System.DynamicIDynamicMetaObjectProvider
The dynamic host object that contains the element to remove.
indices
Type: SystemObject
One or more indices that identify the element to remove.

Return Value

Type: Boolean
True if the element was found and removed, false otherwise.
Remarks
This function is provided for script languages that do not support general indexing.
See Also