Share via


WalletItemCustomProperty(String, String) Constructor

Definition

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Initializes a new instance of the WalletItemCustomProperty class.

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)

Parameters

name
String

Platform::String

winrt::hstring

The custom property label. Sets the initial Name value.

value
String

Platform::String

winrt::hstring

The value of the property. Sets the initial Value value.

Attributes

Applies to