Sdílet prostřednictvím


IppPrintDevice.GetDeviceSelector Method

Definition

Retrieves an Advanced Query Syntax (AQS) string for identifying Internet Printing Protocol (IPP) devices. You can pass that string to DeviceInformation.FindAllAsync in order to find devices.

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

A string formatted as an AQS query.

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Applies to