Click or drag to resize

HostFunctionsremoveProperty Method (IPropertyBag, String)

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

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntax
public bool removeProperty(
	IPropertyBag target,
	string name
)

Parameters

target
Type: Microsoft.ClearScriptIPropertyBag
The dynamic host object that contains the property to remove.
name
Type: SystemString
The name of the property to remove.

Return Value

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