DataViewSchema.Builder 类

定义

包含用于生成 a DataViewSchema.

public sealed class DataViewSchema.Builder
type DataViewSchema.Builder = class
Public NotInheritable Class DataViewSchema.Builder
继承
DataViewSchema.Builder

构造函数

DataViewSchema.Builder()

创建 DataViewSchema.Builder 的一个新实例。

方法

AddColumn(String, DataViewType, DataViewSchema+Annotations)

向要生成的架构添加一列。

AddColumns(IEnumerable<DataViewSchema.Column>)

将多个现有列添加到要生成的架构。

AddColumns(IEnumerable<DataViewSchema.DetachedColumn>)

将多个现有列添加到要生成的架构。

ToSchema()

返回一个 DataViewSchema 包含此 DataViewSchema.Builder内容的当前内容。

适用于