Click or drag to resize

HostFunctionsremoveProperty(IDynamicMetaObjectProvider, String) Method

Removes a property from a dynamic host object that implements IDynamicMetaObjectProvider.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
public bool removeProperty(
	IDynamicMetaObjectProvider target,
	string name


target  IDynamicMetaObjectProvider
The dynamic host object that contains the property to remove.
name  String
The name of the property to remove.

Return Value

True if the property was found and removed, false otherwise.
This function is provided for script languages that do not support dynamic properties.
See Also