Bewerken

Delen via


IPriorityQueue<TValue,TCont>.top_item Property

Definition

Accesses the highest-priority element of the container.

public:
 property TValue top_item { TValue get(); void set(TValue value); };
public TValue top_item { get; set; }
member this.top_item : 'Value with get, set
Public Property top_item As TValue

Property Value

TValue

The top (highest-priority) element of the controlled sequence, which must be non-empty.

Remarks

For more information, see priority_queue::top_item (STL/CLR).

Applies to