NetworkInformation.GetSortedEndpointPairs | getSortedEndpointPairs method

Applies to Windows and Windows Phone

Gets a sorted list of EndpointPair objects.

Syntax


Public Shared Function GetSortedEndpointPairs(
  destinationList As IEnumerable(Of EndpointPair),  
  sortOptions As HostNameSortOptions 
) As IReadOnlyList(Of EndpointPair)

Parameters

destinationList

Type: IIterable<EndpointPair> [JavaScript/C++] | System.Collections.Generic.IEnumerable<EndpointPair> [.NET]

A list of EndpointPair objects to be sorted.

sortOptions

Type: HostNameSortOptions

Indicates sorting options for the returned array.

Return value

Type: IVectorView<EndpointPair> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<EndpointPair> [.NET]

A sorted array of EndpointPair objects.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

NetworkInformation

 

 

Show:
© 2014 Microsoft