Export (0) Print
Expand All

IQueue<TValue, TCont> Interface

Defines the interface for an STL/CLR queue object.

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

public interface IQueue<TValue, TCont> : ICloneable

Type Parameters


The type of an element in the controlled sequence.


The type of the underlying container.

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

Public methodassignReplaces all elements of the container with the contents of the provided container.
Public methodbackAccesses the last element 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 methodfrontAccesses the first element of the container.
Public methodget_containerAccesses the underlying container.
Public methodpopRemoves the last element of the container.
Public methodpushAdds an element to the beginning of the container.
Public methodsizeCounts the number of elements in the container.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

© 2014 Microsoft