Bewerken

Delen via


ArraySegment<T>.Enumerator.IEnumerator.Current Property

Definition

Gets the element at the current position of the enumerator.

property System::Object ^ System::Collections::IEnumerator::Current { System::Object ^ get(); };
object? System.Collections.IEnumerator.Current { get; }
object System.Collections.IEnumerator.Current { get; }
member this.System.Collections.IEnumerator.Current : obj
 ReadOnly Property Current As Object Implements IEnumerator.Current

Property Value

The element in the array segment at the current position of the enumerator.

Implements

Exceptions

The enumerator is positioned before the first element of the array segment or after the last element.

Remarks

This member is an explicit interface member implementation. It can be used only when the ArraySegment<T>.Enumerator instance is cast to an IEnumerator interface.

Applies to