XamlDirect.GetEnumProperty(IXamlDirectObject, XamlPropertyIndex) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of an Enum property for a specific IXamlDirectObject.
public:
virtual unsigned int GetEnumProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetEnumProperty;
uint32_t GetEnumProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public uint GetEnumProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getEnumProperty(xamlDirectObject, propertyIndex)
Public Function GetEnumProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As UInteger
Parameters
- xamlDirectObject
- IXamlDirectObject
A reference to the specific IXamlDirectObject.
- propertyIndex
- XamlPropertyIndex
A reference to the Enum property to get the value of from the list of supported properties in XamlPropertyIndex enum.
Returns
UInt32 value of the specified property which can be cast to the desired Enum type.