StringTokenizer 结构

定义

String 标记为 StringSegmentTokenizes a String into StringSegments.

public value class StringTokenizer : System::Collections::Generic::IEnumerable<Microsoft::Extensions::Primitives::StringSegment>
public struct StringTokenizer : System.Collections.Generic.IEnumerable<Microsoft.Extensions.Primitives.StringSegment>
type StringTokenizer = struct
    interface seq<StringSegment>
    interface IEnumerable
Public Structure StringTokenizer
Implements IEnumerable(Of StringSegment)
继承
StringTokenizer
实现

构造函数

StringTokenizer(String, Char[])

初始化 StringTokenizer 的新实例。Initializes a new instance of StringTokenizer.

StringTokenizer(StringSegment, Char[])

初始化 StringTokenizer 的新实例。Initializes a new instance of StringTokenizer.

方法

GetEnumerator()

显式界面实现

IEnumerable.GetEnumerator()
IEnumerable<StringSegment>.GetEnumerator()

扩展方法

CopyToDataTable<T>(IEnumerable<T>)

在给定其泛型参数 TDataTable 的输入 DataRow 对象的情况下,返回包含 IEnumerable<T> 对象副本的 DataRowReturns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

在给定其泛型参数 TDataRow 的输入 DataTable 对象的情况下,将 IEnumerable<T> 对象复制到指定的 DataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

在给定其泛型参数 TDataRow 的输入 DataTable 对象的情况下,将 IEnumerable<T> 对象复制到指定的 DataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

适用于