ServiceDevice.GetDeviceSelector(ServiceDeviceType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an Advanced Query Syntax (AQS) string that is used to enumerate device services of the specified ServiceDeviceType. This string is passed to the FindAllAsync or CreateWatcher method.
public:
static Platform::String ^ GetDeviceSelector(ServiceDeviceType serviceType);
static winrt::hstring GetDeviceSelector(ServiceDeviceType const& serviceType);
public static string GetDeviceSelector(ServiceDeviceType serviceType);
function getDeviceSelector(serviceType)
Public Shared Function GetDeviceSelector (serviceType As ServiceDeviceType) As String
Parameters
- serviceType
- ServiceDeviceType
The type of service to identify.
Returns
The AQS string.