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 element in the collection at the current position of the enumerator.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MoveNext()

Advances the enumerator to the next element of the collection.

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

Explicit Interface Implementations

IEnumerator.Current

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

Applies to