XamlDirect.GetEnumProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetEnumProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetEnumProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetEnumProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

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

public : unsigned int GetEnumProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
uint32_t GetEnumProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex) const;
public uint GetEnumProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
Public Function GetEnumProperty(xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As uint

Parameters

xamlDirectObject
IXamlDirectObject IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex XamlPropertyIndex

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

Returns

uint uint

UInt32 value of the specified property which can be cast to the desired Enum type.

See also