WalletTransaction.TransactionDate 属性

定义

注意

ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

获取或设置事务的日期和时间。

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

void TransactionDate(IReference<DateTime> value);
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletTransaction 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("IWalletTransaction 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> TransactionDate();

void TransactionDate(IReference<DateTime> value);
public System.Nullable<System.DateTimeOffset> TransactionDate { get; set; }
public System.Nullable<System.DateTimeOffset> TransactionDate { [Windows.Foundation.Metadata.Deprecated("IWalletTransaction 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("IWalletTransaction 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 = walletTransaction.transactionDate;
walletTransaction.transactionDate = iReference;
Public Property TransactionDate As Nullable(Of DateTimeOffset)

属性值

事务的日期和时间。 (默认) 可以为 null ,但对于此特定属性,在查看现有事务时,值不常保持 为 null

属性

适用于