WalletBarcode 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WalletBarcode(IRandomAccessStreamReference) |
注意 ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。 初始化 WalletBarcode 类的新实例。 |
WalletBarcode(WalletBarcodeSymbology, String) |
注意 ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。 初始化 WalletBarcode 类的新实例。 |
WalletBarcode(IRandomAccessStreamReference)
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)
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。 不要设置为 “无效” 或 “自定义”。
- 属性