NetworkInformation.GetSortedEndpointPairs Method

Gets a sorted list of EndpointPair objects.

Syntax

public:
static IVectorView<EndpointPair>^ GetSortedEndpointPairs(
         IIterable<EndpointPair>^ destinationList,
         HostNameSortOptions sortOptions
)  

Parameters

destinationList
Type: IIterable<EndpointPair

  A list of EndpointPair objects to be sorted.

sortOptions
Type: HostNameSortOptions 

Indicates sorting options for the returned array.

Return value

Type: IVectorView<EndpointPair

  A sorted array of EndpointPair objects.

Requirements

Namespace: Windows.Networking.Connectivity

Metadata: windows.winmd

See also

Reference

NetworkInformation Class

NetworkInformation Members

Windows.Networking.Connectivity Namespace