共用方式為


WalletVerb(String) 建構函式

定義

警告

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

初始化 WalletVerb 類別的新實例。

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

參數

name
String

Platform::String

winrt::hstring

自訂動詞的名稱。 設定 Name 屬性的值。

屬性

適用於