Export (0) Print
Expand All

IDeque(Of TValue) Interface

Defines the interface of an STL/CLR deque object.

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

'Declaration
Public Interface IDeque(Of TValue) _
	Inherits IRandomAccessContainer(Of TValue), ICloneable, ICollection,  _
	IEnumerable

Type Parameters

TValue

The type that is contained.

The IDeque(Of TValue) type exposes the following members.

  NameDescription
Public propertyback_itemAccesses the last element of a non-empty deque collection.
Public propertyCountGets the number of elements contained in the ICollection. (Inherited from ICollection.)
Public propertyfront_itemAccesses the first element of a non-empty deque collection.
Public propertyIsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection.)
Public propertyItemGets or sets the element at the indicated position in the container.
Public propertySyncRootGets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection.)
Top

  NameDescription
Public methodassign(IEnumerable)Replaces all elements of the container with the elements in the given IEnumerable object.
Public methodassign(IInputIterator(Of TValue), IInputIterator(Of TValue))Replaces all elements of the container with the elements specified by the given IInputIterator(Of TValue) objects.
Public methodassign(Int32, TValue)Replaces all elements of the container with the given number of specified elements.
Public methodatAccesses an element at a specified position in the container.
Public methodat_biasGets the element at the current bias of the container. The bias is the offset from the current element zero. (Inherited from IRandomAccessContainer(Of TValue).)
Public methodbackAccesses the last element of the container.
Public methodbeginDesignates the beginning of the controlled sequence.
Public methodbegin_biasGets the bias of the beginning of the current sequence. The bias is the offset of the current element zero.
Public methodclearRemoves all elements in the container.
Public methodCloneCreates a new object that is a copy of the current instance. (Inherited from ICloneable.)
Public methodCopyToCopies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.)
Public methodemptyTests whether the container holds no elements.
Public methodendDesignates the end of the controlled sequence.
Public methodend_biasGets the bias of the end of the current sequence. The bias is the offset of the current element zero.
Public methoderase(ContainerRandomAccessIterator(Of TValue), ContainerRandomAccessIterator(Of TValue))Removes the element at the specified position.
Public methoderase(ContainerRandomAccessIterator(Of TValue), ContainerRandomAccessIterator(Of TValue), ContainerRandomAccessIterator(Of TValue))Removes the elements between the specified iterators.
Public methodfrontAccesses the first element of the container.
Public methodget_generationGets the current change generation of the underlying container.
Public methodGetEnumeratorReturns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodinsert(ContainerRandomAccessIterator(Of TValue), IEnumerable)Adds elements at a specified position in the container.
Public methodinsert(ContainerRandomAccessIterator(Of TValue), ContainerRandomAccessIterator(Of TValue), TValue)Adds an element at a specified position in the container.
Public methodinsert(ContainerRandomAccessIterator(Of TValue), IInputIterator(Of TValue), IInputIterator(Of TValue))Adds elements at a specified position in the container.
Public methodinsert(ContainerRandomAccessIterator(Of TValue), Int32, TValue)Adds the given number of elements at a specified position in the container.
Public methodpop_backRemoves the last element of a non-empty container.
Public methodpop_frontRemoves the first element of a non-empty container.
Public methodpush_backAdds an element to the end of a container.
Public methodpush_frontAdds an element to the beginning of a container.
Public methodrbeginDesignates the beginning of the reversed controlled sequence.
Public methodrendDesignates the end of the reversed controlled sequence.
Public methodresize(Int32)Changes the number of elements.
Public methodresize(Int32, TValue)Changes the number of elements.
Public methodsizeCounts the number of elements.
Public methodswapSwaps the contents of two containers.
Public methodvalid_biasDetermines if a given bias is valid for the container. The bias is the offset from the current element zero. (Inherited from IRandomAccessContainer(Of TValue).)
Top

  NameDescription
Public Extension MethodAsParallelOverloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsParallelOverloaded. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryableOverloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodAsQueryableOverloaded. (Defined by Queryable.)
Public Extension MethodCast(Of TResult)Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodCast(Of TResult)Overloaded. (Defined by Enumerable.)
Public Extension MethodOfType(Of TResult)Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension MethodOfType(Of TResult)Overloaded. (Defined by Enumerable.)
Top

Some methods, especially operators, declare a type for a parameter but do not specify a parameter name. Such a parameter is known as an unnamed parameter. In the documentation for these methods, the __unnamed0 placeholder represents the unnamed parameter.

For more information, see deque (STL/CLR).

.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.

Show:
© 2014 Microsoft