Share via


WiFiDirectService.GetSelector Method

Definition

Overloads

GetSelector(String)

Gets an Advanced Query Syntax (AQS) string to be used to find Wi-Fi Direct Service advertisers for a particular service.

GetSelector(String, IBuffer)

Gets an Advanced Query Syntax (AQS) string to be used to find Wi-Fi Direct Service advertisers for a particular service, where a given byte sequence appears in the advertiser's service information blob.

GetSelector(String)

Gets an Advanced Query Syntax (AQS) string to be used to find Wi-Fi Direct Service advertisers for a particular service.

public:
 static Platform::String ^ GetSelector(Platform::String ^ serviceName);
/// [Windows.Foundation.Metadata.Overload("GetSelector")]
 static winrt::hstring GetSelector(winrt::hstring const& serviceName);
[Windows.Foundation.Metadata.Overload("GetSelector")]
public static string GetSelector(string serviceName);
function getSelector(serviceName)
Public Shared Function GetSelector (serviceName As String) As String

Parameters

serviceName
String

Platform::String

winrt::hstring

The service name to be found.

Returns

String

Platform::String

winrt::hstring

The AQS string for the requested advertiser query.

Attributes

Remarks

Your code uses AQS strings with the search and enumeration methods in the Windows.Devices.Enumeration namespace.

See also

Applies to

GetSelector(String, IBuffer)

Gets an Advanced Query Syntax (AQS) string to be used to find Wi-Fi Direct Service advertisers for a particular service, where a given byte sequence appears in the advertiser's service information blob.

public:
 static Platform::String ^ GetSelector(Platform::String ^ serviceName, IBuffer ^ serviceInfoFilter);
/// [Windows.Foundation.Metadata.Overload("GetSelectorWithFilter")]
 static winrt::hstring GetSelector(winrt::hstring const& serviceName, IBuffer const& serviceInfoFilter);
[Windows.Foundation.Metadata.Overload("GetSelectorWithFilter")]
public static string GetSelector(string serviceName, IBuffer serviceInfoFilter);
function getSelector(serviceName, serviceInfoFilter)
Public Shared Function GetSelector (serviceName As String, serviceInfoFilter As IBuffer) As String

Parameters

serviceName
String

Platform::String

winrt::hstring

The service name to be found.

serviceInfoFilter
IBuffer

A byte sequence that must be found in the advertiser's service information blob.

Returns

String

Platform::String

winrt::hstring

The AQS string for the requested advertiser query.

Attributes

Remarks

Your code uses AQS strings with the search and enumeration methods in the Windows.Devices.Enumeration namespace.

See also

Applies to