HostFunctionsremoveProperty Method (IDynamicMetaObjectProvider, String) |
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntaxpublic bool removeProperty(
IDynamicMetaObjectProvider target,
string name
)
Public Function removeProperty (
target As IDynamicMetaObjectProvider,
name As String
) As Boolean
public:
bool removeProperty(
IDynamicMetaObjectProvider^ target,
String^ name
)
member removeProperty :
target : IDynamicMetaObjectProvider *
name : string -> bool
Parameters
- target
- Type: System.DynamicIDynamicMetaObjectProvider
The dynamic host object that contains the property to remove. - name
- Type: SystemString
The name of the property to remove.
Return Value
Type:
BooleanTrue 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