SchemaDefinition.Column.AddAnnotation<T> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向列添加批注。
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
值的类型。