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

事务位置的文本说明。

属性

适用于