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)

type IDeque<'TValue> = 
    interface
        interface IRandomAccessContainer<'TValue>
        interface ICloneable
        interface ICollection
        interface IEnumerable
    end

Type Parameters

TValue

The type that is contained.

NameDescription
System_CAPS_pubpropertyback_item

Accesses the last element of a non-empty deque collection.

System_CAPS_pubpropertyCount

Gets the number of elements contained in the ICollection.(Inherited from ICollection.)

System_CAPS_pubpropertyfront_item

Accesses the first element of a non-empty deque collection.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the ICollection is synchronized (thread safe).(Inherited from ICollection.)

System_CAPS_pubpropertyItem(Int32)

Gets or sets the element at the indicated position in the container.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the ICollection.(Inherited from ICollection.)

NameDescription
System_CAPS_pubmethodassign(IEnumerable)

Replaces all elements of the container with the elements in the given IEnumerable object.

System_CAPS_pubmethodassign(IInputIterator<'TValue>, IInputIterator<'TValue>)

Replaces all elements of the container with the elements specified by the given IInputIterator<'TValue> objects.

System_CAPS_pubmethodassign(Int32, 'TValue)

Replaces all elements of the container with the given number of specified elements.

System_CAPS_pubmethodat(Int32)

Accesses an element at a specified position in the container.

System_CAPS_pubmethodat_bias(Int32)

Gets the element at the current bias of the container. The bias is the offset from the current element zero.(Inherited from IRandomAccessContainer<'TValue>.)

System_CAPS_pubmethodback()

Accesses the last element of the container.

System_CAPS_pubmethodbegin(ContainerRandomAccessIterator<'TValue>)

Designates the beginning of the controlled sequence.

System_CAPS_pubmethodbegin_bias()

Gets the bias of the beginning of the current sequence. The bias is the offset of the current element zero.

System_CAPS_pubmethodclear()

Removes all elements in the container.

System_CAPS_pubmethodClone()

Creates a new object that is a copy of the current instance.(Inherited from ICloneable.)

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.(Inherited from ICollection.)

System_CAPS_pubmethodempty()

Tests whether the container holds no elements.

System_CAPS_pubmethodend(ContainerRandomAccessIterator<'TValue>)

Designates the end of the controlled sequence.

System_CAPS_pubmethodend_bias()

Gets the bias of the end of the current sequence. The bias is the offset of the current element zero.

System_CAPS_pubmethoderase(ContainerRandomAccessIterator<'TValue>, ContainerRandomAccessIterator<'TValue>)

Removes the element at the specified position.

System_CAPS_pubmethoderase(ContainerRandomAccessIterator<'TValue>, ContainerRandomAccessIterator<'TValue>, ContainerRandomAccessIterator<'TValue>)

Removes the elements between the specified iterators.

System_CAPS_pubmethodfront()

Accesses the first element of the container.

System_CAPS_pubmethodget_generation()

Gets the current change generation of the underlying container.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through a collection.(Inherited from IEnumerable.)

System_CAPS_pubmethodinsert(ContainerRandomAccessIterator<'TValue>, ContainerRandomAccessIterator<'TValue>, 'TValue)

Adds an element at a specified position in the container.

System_CAPS_pubmethodinsert(ContainerRandomAccessIterator<'TValue>, IEnumerable)

Adds elements at a specified position in the container.

System_CAPS_pubmethodinsert(ContainerRandomAccessIterator<'TValue>, IInputIterator<'TValue>, IInputIterator<'TValue>)

Adds elements at a specified position in the container.

System_CAPS_pubmethodinsert(ContainerRandomAccessIterator<'TValue>, Int32, 'TValue)

Adds the given number of elements at a specified position in the container.

System_CAPS_pubmethodpop_back()

Removes the last element of a non-empty container.

System_CAPS_pubmethodpop_front()

Removes the first element of a non-empty container.

System_CAPS_pubmethodpush_back('TValue)

Adds an element to the end of a container.

System_CAPS_pubmethodpush_front('TValue)

Adds an element to the beginning of a container.

System_CAPS_pubmethodrbegin(ReverseRandomAccessIterator<'TValue>)

Designates the beginning of the reversed controlled sequence.

System_CAPS_pubmethodrend(ReverseRandomAccessIterator<'TValue>)

Designates the end of the reversed controlled sequence.

System_CAPS_pubmethodresize(Int32)

Changes the number of elements.

System_CAPS_pubmethodresize(Int32, 'TValue)

Changes the number of elements.

System_CAPS_pubmethodsize()

Counts the number of elements.

System_CAPS_pubmethodswap(IDeque<'TValue>)

Swaps the contents of two containers.

System_CAPS_pubmethodvalid_bias(Int32)

Determines if a given bias is valid for the container. The bias is the offset from the current element zero.(Inherited from IRandomAccessContainer<'TValue>.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<'TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<'TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

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
Available since 3.5
Return to top
Show: