共用方式為


WalletItem.RelevantDate 屬性

定義

警告

不再支援 ApplicationModel.Wallet 命名空間,且即將淘汰。 我們鼓勵開發人員避免使用此命名空間。

取得或設定專案有效的日期。

public:
 property IReference<DateTime> ^ RelevantDate { IReference<DateTime> ^ get(); void set(IReference<DateTime> ^ value); };
IReference<DateTime> RelevantDate();

void RelevantDate(IReference<DateTime> value);
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IReference<DateTime> RelevantDate();

void RelevantDate(IReference<DateTime> value);
public System.Nullable<System.DateTimeOffset> RelevantDate { get; set; }
public System.Nullable<System.DateTimeOffset> RelevantDate { [Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] set; }
var iReference = walletItem.relevantDate;
walletItem.relevantDate = iReference;
Public Property RelevantDate As Nullable(Of DateTimeOffset)

屬性值

專案有效的日期。 可以是 null (預設) 。

屬性

適用於