SortedSet<T>.Comparer Propriedade
Definição
Obtém o objeto IComparer<T> usado para ordenar os valores no SortedSet<T>.Gets the IComparer<T> object that is used to order the values in the SortedSet<T>.
public:
property System::Collections::Generic::IComparer<T> ^ Comparer { System::Collections::Generic::IComparer<T> ^ get(); };
public System.Collections.Generic.IComparer<T> Comparer { get; }
member this.Comparer : System.Collections.Generic.IComparer<'T>
Public ReadOnly Property Comparer As IComparer(Of T)
Valor da propriedade
O comparador usado para ordenar os valores no SortedSet<T>.The comparer that is used to order the values in the SortedSet<T>.
Comentários
O comparador retornado pode ser o comparador padrão do tipo para um ou o comparador SortedSet<T> usado para seu construtor.The returned comparer can be either the default comparer of the type for a SortedSet<T>, or the comparer used for its constructor.
A recuperação do valor dessa propriedade é uma O(1) operação.Retrieving the value of this property is an O(1) operation.