IXamlDirect.GetEnumProperty(Object, XamlPropertyIndex) メソッド

定義

特定の IXamlDirectEnum プロパティの値を取得します。

このドキュメントは、WinUI 2 for UWP に適用されます (Windows アプリ SDKWinUI については、Windows アプリ SDK名前空間を参照してください)。

public:
 unsigned int GetEnumProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex);
uint32_t GetEnumProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public uint GetEnumProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetEnumProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As UInteger

パラメーター

xamlDirectObject
Object

Platform::Object

IInspectable

特定の IXamlDirect への参照。

propertyIndex
XamlPropertyIndex

XamlPropertyIndex 列挙型でサポートされているプロパティの一覧から値を取得する Enum プロパティへの参照。

戻り値

UInt32

unsigned int

uint32_t

目的の列挙型にキャストできる、指定したプロパティの UInt32 値。

適用対象

こちらもご覧ください