共用方式為


SmartCardReader.GetDeviceSelector 方法

定義

多載

GetDeviceSelector()

傳回 AQS) 字串 (進階查詢語法,代表連線到裝置的所有智慧卡閱讀機。 此字串會傳遞至 FindAllAsync 方法,以列舉指定的智慧卡讀取器集合。

GetDeviceSelector(SmartCardReaderKind)

傳回進階查詢語法 (AQS) 字串,此字串代表一組連線到裝置的特定智慧卡讀卡機類型。 此字串會傳遞至 FindAllAsync 方法,以列舉指定的智慧卡讀取器集合。

GetDeviceSelector()

傳回 AQS) 字串 (進階查詢語法,代表連線到裝置的所有智慧卡閱讀機。 此字串會傳遞至 FindAllAsync 方法,以列舉指定的智慧卡讀取器集合。

public:
 static Platform::String ^ GetDeviceSelector();
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
 static winrt::hstring GetDeviceSelector();
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

傳回

String

Platform::String

winrt::hstring

進階查詢語法 (AQS) 字串,代表連線到裝置的所有智慧卡閱讀機。

屬性

備註

如需 AQS 的相關資訊,請參閱 以程式設計方式使用進階查詢語法

另請參閱

適用於

GetDeviceSelector(SmartCardReaderKind)

傳回進階查詢語法 (AQS) 字串,此字串代表一組連線到裝置的特定智慧卡讀卡機類型。 此字串會傳遞至 FindAllAsync 方法,以列舉指定的智慧卡讀取器集合。

public:
 static Platform::String ^ GetDeviceSelector(SmartCardReaderKind kind);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorWithKind")]
 static winrt::hstring GetDeviceSelector(SmartCardReaderKind const& kind);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorWithKind")]
public static string GetDeviceSelector(SmartCardReaderKind kind);
function getDeviceSelector(kind)
Public Shared Function GetDeviceSelector (kind As SmartCardReaderKind) As String

參數

kind
SmartCardReaderKind

其中一個列舉值,表示特定的智慧卡閱讀機類型。

傳回

String

Platform::String

winrt::hstring

進階查詢語法 (AQS) 字串,代表一組連線到裝置的指定智慧卡閱讀機類型。

屬性

備註

如需 AQS 的相關資訊,請參閱 以程式設計方式使用進階查詢語法

另請參閱

適用於