IPriorityQueue<TValue,TCont>.top Método

Definição

Acessa o elemento de prioridade mais alta do contêiner.Accesses the highest-priority element of the container.

public:
 TValue % top();
public ref TValue top ();
abstract member top : unit -> 'Value
Public Function top () As TValue

Retornos

TValue

O elemento superior (de prioridade mais alta) da sequência controlada, que deve ser não vazia.The top (highest-priority) element of the controlled sequence, which must be non-empty.

Comentários

Para obter mais informações, consulte priority_queue:: Top (STL/CLR).For more information, see priority_queue::top (STL/CLR).

Aplica-se a