ArraySegment<T>.Enumerator.IEnumerator.Current Proprietà

Definizione

Ottiene l'elemento in corrispondenza della posizione corrente dell'enumeratore.

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

Valore della proprietà

Elemento nel segmento di matrice nella posizione corrente dell'enumeratore.

Implementazioni

Eccezioni

L'enumeratore è posizionato prima del primo elemento del segmento di matrice o dopo l'ultimo elemento.

Commenti

Questo membro è un’implementazione esplicita di un membro di interfaccia. Può essere utilizzato solo quando si esegue il cast dell'istanza ArraySegment<T>.Enumerator a un'interfaccia IEnumerator.

Si applica a