語言

DataViewSchema.Builder.AddColumn 方法

定義

在正在建置的結構中新增一欄。

public void AddColumn(string name, Microsoft.ML.Data.DataViewType type, Microsoft.ML.DataViewSchema.Annotations annotations = default);
member this.AddColumn : string * Microsoft.ML.Data.DataViewType * Microsoft.ML.DataViewSchema.Annotations -> unit
Public Sub AddColumn (name As String, type As DataViewType, Optional annotations As DataViewSchema.Annotations = Nothing)

參數

name
String

數據行名稱。

type
DataViewType

數據行類型。

annotations
DataViewSchema.Annotations

欄註解。

適用於