Bagikan melalui


WalletItem.ExpirationDate Properti

Definisi

Perhatian

Namespace ApplicationModel.Wallet tidak lagi didukung, dan akan segera tidak digunakan lagi. Pengembang didorong untuk menghindari penggunaan namespace layanan ini.

Mendapatkan atau menetapkan tanggal kedaluwarsa item dompet.

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)

Nilai Properti

Tanggal kedaluwarsa item. Bisa null (defaultnya).

Atribut

Berlaku untuk