ListEnumerator<TValue> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Supports simple iteration over any STL/CLR object that implements the IList<TValue> interface.
generic <typename TValue>
public ref class ListEnumerator : Microsoft::VisualC::StlClr::ListEnumeratorBase<TValue>, System::Collections::Generic::IEnumerator<TValue>
public class ListEnumerator<TValue> : Microsoft.VisualC.StlClr.ListEnumeratorBase<TValue>, System.Collections.Generic.IEnumerator<TValue>
type ListEnumerator<'Value> = class
inherit ListEnumeratorBase<'Value>
interface IEnumerator<'Value>
Public Class ListEnumerator(Of TValue)
Inherits ListEnumeratorBase(Of TValue)
Implements IEnumerator(Of TValue)
- TValue
The type of an element in the controlled sequence.
- Inheritance
- Implements
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.
List |
Allocates and initializes a new ListEnumerator<TValue> object. |
Current |
Gets or sets the current element in the collection. |
Dispose() |
Frees, releases, or resets unmanaged resources that are used by the ListEnumerator<TValue> object. |
Dispose(Boolean) |
Frees, releases, or resets unmanaged resources that are used by the ListEnumerator<TValue> object. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Move |
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. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: