Modifier

Partager via


ArraySegment<T>.GetEnumerator Method

Definition

Returns an enumerator that can be used to iterate through the array segment.

public:
 ArraySegment<T>::Enumerator GetEnumerator();
public ArraySegment<T>.Enumerator GetEnumerator ();
member this.GetEnumerator : unit -> ArraySegment<'T>.Enumerator
Public Function GetEnumerator () As ArraySegment(Of T).Enumerator

Returns

An enumerator that can be used to iterate through the array segment.

Exceptions

The underlying array is null.

Applies to