Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDeque<TValue> Interface

Defines the interface of an STL/CLR deque object.

Namespace:  Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)
generic<typename TValue>
public interface class IDeque : IRandomAccessContainer<TValue>, 
	ICloneable, ICollection, IEnumerable

Type Parameters

TValue

The type that is contained.

The IDeque<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<TValue>, IInputIterator<TValue>)Replaces all elements of the container with the elements specified by the given IInputIterator<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<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<TValue>%, ContainerRandomAccessIterator<TValue>)Removes the element at the specified position.
Public methoderase(ContainerRandomAccessIterator<TValue>%, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<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<TValue>, IEnumerable)Adds elements at a specified position in the container.
Public methodinsert(ContainerRandomAccessIterator<TValue>%, ContainerRandomAccessIterator<TValue>, TValue)Adds an element at a specified position in the container.
Public methodinsert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>)Adds elements at a specified position in the container.
Public methodinsert(ContainerRandomAccessIterator<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<TValue>.)
Top
  NameDescription
Public Extension MethodAsParallelEnables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCast<TResult>Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>Filters the elements of an IEnumerable based on a specified type. (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.5.1, 4.5, 4, 3.5

Windows Phone 8.1, Windows Phone 8, 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.