IVisualTreeService2::GetProperty method (xamlom.h)
Gets the effective value of the specified dependency property.
Syntax
HRESULT GetProperty(
[in] InstanceHandle object,
[in] unsigned int propertyIndex,
[out] InstanceHandle *pValue
);
Parameters
[in] object
The dependency object to get the property value from.
[in] propertyIndex
The index of the property to get the value from.
[out] pValue
The effective value of the property.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | xamlom.h |