Click or drag to resize

HostFunctionsgetProperty Method (IPropertyBag, String)

Gets the value of a property in a dynamic host object that implements IPropertyBag.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.3
Syntax
public Object getProperty(
	IPropertyBag target,
	string name
)

Parameters

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

Return Value

Type: Object
The value of the specified property.
Remarks
This function is provided for script languages that do not support dynamic properties.
See Also