MagneticStripeReader.GetDeviceSelector 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetDeviceSelector() |
傳回用來列舉可用磁條讀取器的進階查詢語法 (AQS) 字串。 |
GetDeviceSelector(PosConnectionTypes) |
取得進階查詢語法 (AQS) 字串,可用來列出指定連線類型上可用的磁條讀取器 |
GetDeviceSelector()
傳回用來列舉可用磁條讀取器的進階查詢語法 (AQS) 字串。
public:
static Platform::String ^ GetDeviceSelector();
static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String
傳回
用來列舉可用磁條讀取器的進階查詢語法 (AQS) 字串。
適用於
GetDeviceSelector(PosConnectionTypes)
取得進階查詢語法 (AQS) 字串,可用來列出指定連線類型上可用的磁條讀取器
public:
static Platform::String ^ GetDeviceSelector(PosConnectionTypes connectionTypes);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorWithConnectionTypes")]
static winrt::hstring GetDeviceSelector(PosConnectionTypes const& connectionTypes);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorWithConnectionTypes")]
public static string GetDeviceSelector(PosConnectionTypes connectionTypes);
function getDeviceSelector(connectionTypes)
Public Shared Function GetDeviceSelector (connectionTypes As PosConnectionTypes) As String
參數
- connectionTypes
- PosConnectionTypes
要檢查可用磁條讀取器的連線類型清單。
傳回
進階查詢語法 (AQS) 字串,用來列舉指定連線類型上可用的磁條讀取器
- 屬性
Windows 需求
裝置系列 |
Windows 10 Creators Update (已於 10.0.15063.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
|