Language

DequeEnumerator Class

Definition

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

generic 
public ref class DequeEnumerator : Microsoft::VisualC::StlClr::DequeEnumeratorBase, System::Collections::Generic::IEnumerator
public class DequeEnumerator : Microsoft.VisualC.StlClr.DequeEnumeratorBase, System.Collections.Generic.IEnumerator
type DequeEnumerator<'Value> = class
    inherit DequeEnumeratorBase<'Value>
    interface IEnumerator<'Value>
Public Class DequeEnumerator(Of TValue)
Inherits DequeEnumeratorBase(Of TValue)
Implements IEnumerator(Of TValue)

Type Parameters

TValue

The type of an element in the controlled sequence.

Inheritance
DequeEnumerator
Implements

Remarks

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 A_0 placeholder represents the unnamed parameter.

Constructors

Name Description
DequeEnumerator(IDeque, Int32)

Allocates and initializes a new DequeEnumerator object.

Properties

Name Description
Current

Gets or sets the current element in the collection.

Methods

Name Description
Dispose()

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

Dispose(Boolean)

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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveNext()

Advances the enumerator to the next element in the collection.

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to