IXamlDirect.SetDateTimeProperty(Object, XamlPropertyIndex, DateTime) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
特定の IXamlDirect の DateTimeOffset プロパティの値を設定します。
このドキュメントは、WinUI 2 for UWP に適用されます (Windows アプリ SDKの WinUI については、Windows アプリ SDK名前空間を参照してください)。
public:
void SetDateTimeProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex, DateTime value);
void SetDateTimeProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, DateTime const& value);
public void SetDateTimeProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex, System.DateTimeOffset value);
Public Sub SetDateTimeProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex, value As DateTimeOffset)
パラメーター
- xamlDirectObject
-
Object
Platform::Object
IInspectable
特定の IXamlDirect への参照。
- propertyIndex
- XamlPropertyIndex
XamlPropertyIndex 列挙型でサポートされているプロパティの一覧から値を設定する DateTimeOffset プロパティへの参照。
- value
- DateTime DateTimeOffset
指定したプロパティに設定する DateTimeOffset 値。
適用対象
こちらもご覧ください
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示