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

定義

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

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

public:
 int GetInt32Property(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex);
int GetInt32Property(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public int GetInt32Property(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetInt32Property (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As Integer

パラメーター

xamlDirectObject
Object

Platform::Object

IInspectable

特定の IXamlDirect への参照。

propertyIndex
XamlPropertyIndex

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

戻り値

Int32

int

指定したプロパティの Int32 値。

適用対象

こちらもご覧ください