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 並不常見。

屬性

適用於