Show / Hide Table of Contents

Struct GeoArray<T>.Enumerator

Enumerates the elements of a GeoArray<T>

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Core.dll
Syntax
public struct GeoArray<T>.Enumerator : System.Collections.Generic.IEnumerator<T>
Type Parameters
T

Properties

Current

Gets the element in the collection at the current position of the enumerator.

Declaration
public T Current { get; }
Property Value
T

The element in the collection at the current position of the enumerator.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose ();

MoveNext()

Advances the enumerator to the next element of the collection.

Declaration
public bool MoveNext ();
Returns
System.Boolean

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Exceptions
System.InvalidOperationException

The collection was modified after the enumerator was created.

Reset()

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

Declaration
public void Reset ();
Exceptions
System.InvalidOperationException

The collection was modified after the enumerator was created.

Explicit Interface Implementations

IEnumerator.Current

Gets the element in the collection at the current position of the enumerator.

Declaration
object System.Collections.IEnumerator.Current { get; }
Returns
System.Object

The element in the collection at the current position of the enumerator.

Back to top Azure SDK for .NET