Dela via


WiFiDirectConnectionParameters.GetDevicePairingKinds Method

Definition

Gets a list of the DevicePairingKinds supporting the given configuration method.

public:
 static DevicePairingKinds GetDevicePairingKinds(WiFiDirectConfigurationMethod configurationMethod);
 static DevicePairingKinds GetDevicePairingKinds(WiFiDirectConfigurationMethod const& configurationMethod);
public static DevicePairingKinds GetDevicePairingKinds(WiFiDirectConfigurationMethod configurationMethod);
function getDevicePairingKinds(configurationMethod)
Public Shared Function GetDevicePairingKinds (configurationMethod As WiFiDirectConfigurationMethod) As DevicePairingKinds

Parameters

configurationMethod
WiFiDirectConfigurationMethod

A value specifying a configuration method.

Returns

A value specifying a pairing kind, for use with the pairing functionality in the Windows.Devices.Enumeration API.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to