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

定義

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

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

public:
 double GetDoubleProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex);
double GetDoubleProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public double GetDoubleProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetDoubleProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As Double

パラメーター

xamlDirectObject
Object

Platform::Object

IInspectable

特定の IXamlDirect への参照。

propertyIndex
XamlPropertyIndex

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

戻り値

Double

double

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

適用対象

こちらもご覧ください