NetworkInformation.GetSortedEndpointPairs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A list of EndpointPair objects to be sorted.
- sortOptions
- HostNameSortOptions
Indicates sorting options for the returned array.
Returns
A sorted array of EndpointPair objects.