語言

IPriorityQueue<TValue,TCont>.top_item 屬性

定義

存取容器中優先權最高的元素。

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

屬性值

TValue

受控序列中最高(最高優先權)元素,且必須非空。

備註

更多資訊請參閱 priority_queue::top_item(STL/CLR)。

適用於