语言

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)。

适用于