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 属性的值。

属性

适用于