StringTokenizer.Enumerator Struct
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.
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
- Implements
String |
Initializes an StringTokenizer.Enumerator using a StringTokenizer. |
Current |
Gets the current StringSegment from the StringTokenizer. |
Dispose() |
Releases all resources used by the StringTokenizer.Enumerator. |
Move |
Advances the enumerator to the next token in the StringTokenizer. |
Reset() |
Resets the StringTokenizer.Enumerator to its initial state. |
IEnumerator. |
Gets the element in the collection at the current position of the enumerator. |
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: