SchemaDefinition.Column.AddAnnotation<T> 方法

定义

向列添加批注。

public void AddAnnotation<T>(string kind, T value, Microsoft.ML.Data.DataViewType annotationType);
member this.AddAnnotation : string * 'T * Microsoft.ML.Data.DataViewType -> unit
Public Sub AddAnnotation(Of T) (kind As String, value As T, annotationType As DataViewType)

类型参数

T

正在添加的批注的类型。 作为列中的条目进行运动的类型也支持为批注中的条目。 可将多个批注添加到一列。

参数

kind
String

批注的字符串标识符。

value
T

批注的值。

annotationType
DataViewType

值的类型。

适用于