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

定義

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

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

Duration GetDurationProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Duration GetDurationProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetDurationProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As Duration

パラメーター

xamlDirectObject
Object

IInspectable

特定の IXamlDirect への参照。

propertyIndex
XamlPropertyIndex

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

戻り値

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

適用対象

こちらもご覧ください