HostFunctionsgetProperty(IPropertyBag, String) Method |
Gets the value of a property in a dynamic host object that implements
IPropertyBag.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public 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 IPropertyBag
- The dynamic host object that contains the property to get.
- name String
- The name of the property to get.
Return Value
ObjectThe value of the specified property.
Remarks
This function is provided for script languages that do not support dynamic properties.
See Also