IVisualTreeService2::GetProperty method
Gets the effective value of the specified dependency property.
Syntax
virtual HRESULT GetProperty(
[in] InstanceHandle object,
[in] unsigned int propertyIndex,
[out] InstanceHandle *pValue
) = 0;
Parameters
-
object [in]
-
The dependency object to get the property value from.
-
propertyIndex [in]
-
The index of the property to get the value from.
-
pValue [out]
-
The effective value of the property.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See also