Share via


NetworkInformation.GetSortedEndpointPairs 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 const& 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

IIterable<EndpointPair>

IEnumerable<EndpointPair>

A list of EndpointPair objects to be sorted.

sortOptions
HostNameSortOptions

Indicates sorting options for the returned array.

Returns

A sorted array of EndpointPair objects.

Applies to