CharBuffer.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an enumerator for the characters between this buffer's position and limit.
public System.Collections.Generic.IEnumerator<char> GetEnumerator();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<char>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<char>
Returns
An enumerator that reads characters in order with CharAt(Int32) without changing the buffer's position.
Implements
Remarks
The enumerator reads the current sequence as it advances; it does not take a copy. Do not change the buffer's position, limit, or contents during enumeration.
.NET character-sequence enumerator implementation.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.