Compartilhar via


PriorityQueue<TElement,TPriority>.Comparer Propriedade

Definição

Obtém o comparador de prioridade usado pelo PriorityQueue<TElement,TPriority>.

public:
 property System::Collections::Generic::IComparer<TPriority> ^ Comparer { System::Collections::Generic::IComparer<TPriority> ^ get(); };
public System.Collections.Generic.IComparer<TPriority> Comparer { get; }
member this.Comparer : System.Collections.Generic.IComparer<'Priority>
Public ReadOnly Property Comparer As IComparer(Of TPriority)

Valor da propriedade

IComparer<TPriority>

O comparador que determina a prioridade dos itens na fila.

Aplica-se a