TreeEnumeratorBase<TKey, TValue> Class

 

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

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

System.Object
  Microsoft.VisualC.StlClr.TreeEnumeratorBase<TKey, TValue>
    Microsoft.VisualC.StlClr.TreeEnumerator<TKey, TValue>

public class TreeEnumeratorBase<TKey, TValue> : IEnumerator

Type Parameters

TKey

The type of the key component of an element in the controlled sequence.

TValue

The type of the value component of an element in the controlled sequence.

NameDescription
System_CAPS_pubmethodTreeEnumeratorBase<TKey, TValue>(INode<TValue>)

Allocates and initializes a new TreeEnumeratorBase<TKey, TValue> object.

NameDescription
System_CAPS_pubpropertyCurrent

Gets or sets the current element in the collection.

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

System_CAPS_pubmethodReset()

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

System_CAPS_pubmethodToString()

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

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