NetworkInformation.GetSortedEndpointPairs(IEnumerable<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> const & destinationList, HostNameSortOptions sortOptions);
public static IReadOnlyList<EndpointPair> GetSortedEndpointPairs(IEnumerable<EndpointPair> destinationList, HostNameSortOptions sortOptions);
function getSortedEndpointPairs(destinationList, sortOptions)
Public Shared Function GetSortedEndpointPairs (destinationList As IEnumerable(Of EndpointPair), sortOptions As HostNameSortOptions) As IReadOnlyList(Of EndpointPair)

Parameters

destinationList
IEnumerable<EndpointPair>

A list of EndpointPair objects to be sorted.

sortOptions
HostNameSortOptions

Indicates sorting options for the returned array.

Returns

IReadOnlyList<EndpointPair>

A sorted array of EndpointPair objects.

Applies to