Επεξεργασία

Κοινή χρήση μέσω


PriorityQueue<TElement,TPriority>.Comparer Property

Definition

Gets the priority comparer used by the 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)

Property Value

IComparer<TPriority>

The comparer that determines the priority of items in the queue.

Applies to