แชร์ผ่าน


StringTokenizer.Enumerator Struct

Definition

Enumerates the String tokens represented by StringSegment.

public: value class StringTokenizer::Enumerator : System::Collections::Generic::IEnumerator<Microsoft::Extensions::Primitives::StringSegment>
public struct StringTokenizer.Enumerator : System.Collections.Generic.IEnumerator<Microsoft.Extensions.Primitives.StringSegment>
type StringTokenizer.Enumerator = struct
    interface IEnumerator<StringSegment>
    interface IEnumerator
    interface IDisposable
Public Structure StringTokenizer.Enumerator
Implements IEnumerator(Of StringSegment)
Inheritance
StringTokenizer.Enumerator
Implements

Constructors

StringTokenizer.Enumerator(StringTokenizer)

Initializes an StringTokenizer.Enumerator using a StringTokenizer.

Properties

Current

Gets the current StringSegment from the StringTokenizer.

Methods

Dispose()

Releases all resources used by the StringTokenizer.Enumerator.

MoveNext()

Advances the enumerator to the next token in the StringTokenizer.

Reset()

Resets the StringTokenizer.Enumerator to its initial state.

Explicit Interface Implementations

IEnumerator.Current

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

Applies to