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

属性

适用于