共用方式為


WalletTransaction.DisplayLocation 屬性

定義

警告

不再支援 ApplicationModel.Wallet 命名空間,即將淘汰。 建議開發人員避免使用此命名空間。

取得或設定適用于交易位置使用者 UI) 的描述 (。

public:
 property Platform::String ^ DisplayLocation { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DisplayLocation();

void DisplayLocation(winrt::hstring 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")]
winrt::hstring DisplayLocation();

void DisplayLocation(winrt::hstring value);
public string DisplayLocation { get; set; }
public string DisplayLocation { [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 string = walletTransaction.displayLocation;
walletTransaction.displayLocation = string;
Public Property DisplayLocation As String

屬性值

String

Platform::String

winrt::hstring

交易位置的文字描述。

屬性

適用於