Condividi tramite


NetworkInformation.GetSortedEndpointPairs Metodo

Definizione

Ottiene un elenco ordinato di oggetti EndpointPair .

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)

Parametri

destinationList

IIterable<EndpointPair>

IEnumerable<EndpointPair>

Elenco di oggetti EndpointPair da ordinare.

sortOptions
HostNameSortOptions

Indica le opzioni di ordinamento per la matrice restituita.

Restituisce

Matrice ordinata di oggetti EndpointPair .

Si applica a