WalletBarcode 构造函数

定义

重载

WalletBarcode(IRandomAccessStreamReference)

注意

ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

初始化 WalletBarcode 类的新实例。

WalletBarcode(WalletBarcodeSymbology, String)

注意

ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

初始化 WalletBarcode 类的新实例。

WalletBarcode(IRandomAccessStreamReference)

注意

ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

初始化 WalletBarcode 类的新实例。

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)

参数

streamToBarcodeImage
IRandomAccessStreamReference

表示条码图像的流。

属性

另请参阅

适用于

WalletBarcode(WalletBarcodeSymbology, String)

注意

ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

初始化 WalletBarcode 类的新实例。

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)

参数

symbology
WalletBarcodeSymbology

此条形码的符号类型。 使用受支持的符号之一,例如 Upca。 不要设置为 “无效”“自定义”。

value
String

Platform::String

winrt::hstring

消息 (条形码 表示的值) 。

属性

另请参阅

适用于