WalletItemCustomProperty(String, String) 建構函式

定義

警告

不再支援 ApplicationModel.Wallet 命名空間,且即將淘汰。 我們鼓勵開發人員避免使用此命名空間。

初始化 WalletItemCustomProperty 類別的新實例。

public:
 WalletItemCustomProperty(Platform::String ^ name, Platform::String ^ value);
 WalletItemCustomProperty(winrt::hstring const& name, winrt::hstring const& value);
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemCustomProperty is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
 WalletItemCustomProperty(winrt::hstring const& name, winrt::hstring const& value);
public WalletItemCustomProperty(string name, string value);
[Windows.Foundation.Metadata.Deprecated("IWalletItemCustomProperty is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public WalletItemCustomProperty(string name, string value);
function WalletItemCustomProperty(name, value)
Public Sub New (name As String, value As String)

參數

name
String

Platform::String

winrt::hstring

自訂屬性標籤。 設定初始 Name 值。

value
String

Platform::String

winrt::hstring

屬性的值。 設定初始 Value 值。

屬性

適用於