Share via


WalletBarcode Constructors

Definition

Overloads

WalletBarcode(IRandomAccessStreamReference)

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 WalletBarcode class.

WalletBarcode(WalletBarcodeSymbology, String)

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 WalletBarcode class.

WalletBarcode(IRandomAccessStreamReference)

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 WalletBarcode class.

public:
 WalletBarcode(IRandomAccessStreamReference ^ streamToBarcodeImage);
 WalletBarcode(IRandomAccessStreamReference const& streamToBarcodeImage);
/// [Windows.Foundation.Metadata.Deprecated("IWalletBarcodeFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
 WalletBarcode(IRandomAccessStreamReference const& streamToBarcodeImage);
public WalletBarcode(IRandomAccessStreamReference streamToBarcodeImage);
[Windows.Foundation.Metadata.Deprecated("IWalletBarcodeFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public WalletBarcode(IRandomAccessStreamReference streamToBarcodeImage);
function WalletBarcode(streamToBarcodeImage)
Public Sub New (streamToBarcodeImage As IRandomAccessStreamReference)

Parameters

streamToBarcodeImage
IRandomAccessStreamReference

A stream representing the bar code image.

Attributes

See also

Applies to

WalletBarcode(WalletBarcodeSymbology, String)

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 WalletBarcode class.

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

Parameters

symbology
WalletBarcodeSymbology

The symbology type for this barcode. Use one of the supported symbologies, such as Upca. Don't set to Invalid or Custom.

value
String

Platform::String

winrt::hstring

The message (Value) that the barcode represents.

Attributes

See also

Applies to