NetworkInformation.GetSortedEndpointPairs(IIterable<EndpointPair>, HostNameSortOptions) NetworkInformation.GetSortedEndpointPairs(IIterable<EndpointPair>, HostNameSortOptions) NetworkInformation.GetSortedEndpointPairs(IIterable<EndpointPair>, HostNameSortOptions) NetworkInformation.GetSortedEndpointPairs(IIterable<EndpointPair>, HostNameSortOptions) NetworkInformation.GetSortedEndpointPairs(IIterable<EndpointPair>, HostNameSortOptions) Method

Definition

Gets a sorted list of EndpointPair objects.

public : static IVectorView<EndpointPair> GetSortedEndpointPairs(IIterable<EndpointPair> destinationList, HostNameSortOptions sortOptions)
static IVectorView<EndpointPair> GetSortedEndpointPairs(IIterable<EndpointPair> destinationList, HostNameSortOptions sortOptions) const;
public static IReadOnlyList<EndpointPair> GetSortedEndpointPairs(IEnumerable<EndpointPair> destinationList, HostNameSortOptions sortOptions)
Public Shared Function GetSortedEndpointPairs(destinationList As IEnumerable(Of EndpointPair), sortOptions As HostNameSortOptions) As IReadOnlyList<EndpointPair>(Of EndpointPair)
var iVectorView = Windows.Networking.Connectivity.NetworkInformation.getSortedEndpointPairs(destinationList, sortOptions);

Parameters

destinationList
IEnumerable<EndpointPair> IEnumerable<EndpointPair> IEnumerable<EndpointPair>

A list of EndpointPair objects to be sorted.

sortOptions
HostNameSortOptions HostNameSortOptions HostNameSortOptions

Indicates sorting options for the returned array.

Returns

IReadOnlyList<EndpointPair> IReadOnlyList<EndpointPair> IReadOnlyList<EndpointPair>

A sorted array of EndpointPair objects.