Jaa


XamlDirect.GetObjectProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

Gets the value of an object property for a specific IXamlDirectObject.

public:
 virtual Platform::Object ^ GetObjectProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetObjectProperty;
IInspectable GetObjectProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public object GetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getObjectProperty(xamlDirectObject, propertyIndex)
Public Function GetObjectProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Object

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

A reference to the object property to get the value of from the list of supported properties in XamlPropertyIndex enum.

Returns

Object

Platform::Object

IInspectable

object value of the specified property.

Applies to

See also