共用方式為


XamlDirect.GetEnumProperty(IXamlDirectObject, XamlPropertyIndex) 方法

定義

取得特定IXamlDirectObjectEnum屬性值。

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

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

列舉屬性的參考,可從XamlPropertyIndex列舉中支援的屬性清單中取得 的值。

傳回

UInt32

unsigned int

uint32_t

指定屬性的UInt32值,可轉換成所需的列舉類型。

適用於

另請參閱