語言

DataViewSchema.Annotations.Builder 類別

定義

包含運算的類別用來建構 DataViewSchema.Annotations。

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

建構函式

名稱 Description
DataViewSchema.Annotations.Builder()

包含運算的類別用來建構 DataViewSchema.Annotations。

方法

名稱 Description
Add(DataViewSchema+Annotations, Func<String,Boolean>)

將一些欄位 annotations 從我們的新註解中加入,方法是套用 selector 到所有名稱。

Add(String, DataViewType, Delegate, DataViewSchema+Annotations)

新增一欄註解,弱型別版本。

Add<TValue>(String, DataViewType, ValueGetter<TValue>, DataViewSchema+Annotations)

新增一欄註解,強型版本。

AddPrimitiveValue<TValue>(String, PrimitiveDataViewType, TValue, DataViewSchema+Annotations)

新增一個註解欄位以指定原始值型別。

ToAnnotations()

回傳 DataViewSchema.Annotations 一列,包含該 DataViewSchema.Annotations.Builder的當前內容。

適用於