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.5
Syntaxpublic Object getProperty(
IPropertyBag target,
string name
)
Public Function getProperty (
target As IPropertyBag,
name As String
) As Object
public:
Object^ getProperty(
IPropertyBag^ target,
String^ name
)
member getProperty :
target : IPropertyBag *
name : string -> Object
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:
ObjectThe value of the specified property.
Remarks
This function is provided for script languages that do not support dynamic properties.
See Also