WalletItem.ExpirationDate 屬性

定義

警告

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

取得或設定電子錢包專案的到期日。

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

void ExpirationDate(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> ExpirationDate();

void ExpirationDate(IReference<DateTime> value);
public System.Nullable<System.DateTimeOffset> ExpirationDate { get; set; }
public System.Nullable<System.DateTimeOffset> ExpirationDate { [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.expirationDate;
walletItem.expirationDate = iReference;
Public Property ExpirationDate As Nullable(Of DateTimeOffset)

屬性值

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

屬性

適用於