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

條碼所代表的訊息 (Value) 。

屬性

另請參閱

適用於