This documentation is archived and is not being maintained.

IPriorityQueue<TValue, TCont> Interface

Defines the interface for an STL/CLR priority_queue object.

Namespace:  Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

generic<typename TValue, typename TCont>
public interface class IPriorityQueue : ICloneable

Type Parameters

TValue

The type of an element in the controlled sequence.

TCont

The type of the underlying container.

The IPriorityQueue<TValue, TCont> type exposes the following members.

  NameDescription
Public propertytop_itemAccesses the highest-priority element of the container.
Top

  NameDescription
Public methodassignReplaces all elements of the container.
Public methodCloneCreates a new object that is a copy of the current instance. (Inherited from ICloneable.)
Public methodemptyDetermines whether the container contains no elements.
Public methodget_containerAccesses the underlying container.
Public methodpopRemoves the highest-priority element of the container.
Public methodpushAdds a new element to the container.
Public methodsizeCounts the number of elements in the container.
Public methodtopAccesses the highest-priority element of the container.
Public methodvalue_compCopies the ordering delegate for two elements.
Top

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: