CashDrawer.GetDeviceSelector 方法

定义

重载

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

返回

String

Platform::String

winrt::hstring

高级查询语法 (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

为可用收银机检查的连接类型列表。

返回

String

Platform::String

winrt::hstring

高级查询语法 (AQS) 字符串,用于枚举指定连接类型上可用的收银机

属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于