Class ObservableCollection<T>.Enumerator
Enumerator which uses index access. Index access on Collection is O(1) operation
Inheritance
System.Object
ObservableCollection<T>.Enumerator
Namespace: VRage.Collections
Assembly: VRage.Library.dll
Syntax
public sealed class Enumerator : ValueType, IEnumerator<T>, IEnumerator, IDisposable
Constructors
Enumerator(ObservableCollection<T>)
Declaration
public Enumerator(ObservableCollection<T> collection)
Parameters
Type | Name | Description |
---|---|---|
ObservableCollection<T> | collection |
Properties
Current
Declaration
public T Current { get; }
Property Value
Type | Description |
---|---|
T |
Methods
Dispose()
Declaration
public void Dispose()
MoveNext()
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean |
Reset()
Declaration
public void Reset()