Share via


PosPrinter.GetDeviceSelector Method

Definition

Overloads

GetDeviceSelector(PosConnectionTypes)

Gets an Advanced Query Syntax (AQS) string that you can use to list the point-of-service printers available over the specified connection types

GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string that you can use to list the available point-of-service printers.

GetDeviceSelector(PosConnectionTypes)

Gets an Advanced Query Syntax (AQS) string that you can use to list the point-of-service printers available over the specified connection types

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

Parameters

connectionTypes
PosConnectionTypes

A list of the connection types to check for available point-of-service printers.

Returns

String

Platform::String

winrt::hstring

An Advanced Query Syntax (AQS) string that is used to enumerate the point-of-service printers available over the specified connection types

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string that you can use to list the available point-of-service printers.

public:
 static Platform::String ^ GetDeviceSelector();
 static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

Returns

String

Platform::String

winrt::hstring

An Advanced Query Syntax (AQS) string that you can use to list the available point-of-service printers.

Applies to