DequeEnumerator<TValue> Class

 

Supports simple iteration over any STL/CLR object that implements the IDeque<TValue> interface.

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

System.Object
  Microsoft.VisualC.StlClr.DequeEnumeratorBase<TValue>
    Microsoft.VisualC.StlClr.DequeEnumerator<TValue>

public class DequeEnumerator<TValue> : DequeEnumeratorBase<TValue>, 
	IEnumerator<TValue>

Type Parameters

TValue

The type of an element in the controlled sequence.

NameDescription
System_CAPS_pubmethodDequeEnumerator<TValue>(IDeque<TValue>, Int32)

Allocates and initializes a new DequeEnumerator<TValue> object.

NameDescription
System_CAPS_pubpropertyCurrent

Gets or sets the current element in the collection.

NameDescription
System_CAPS_pubmethodDispose()

Frees, releases, or resets unmanaged resources that are used by the DequeEnumerator<TValue> object.

System_CAPS_protmethodDispose(Boolean)

Frees, releases, or resets unmanaged resources that are used by the DequeEnumerator<TValue> object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMoveNext()

Advances the enumerator to the next element in the collection.(Overrides DequeEnumeratorBase<TValue>.MoveNext().)

System_CAPS_pubmethodReset()

Sets the enumerator to its initial position, which is before the first element in the collection.(Overrides DequeEnumeratorBase<TValue>.Reset().)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: