Dela via


SchemaDefinition.Column.AddAnnotation<T> Method

Definition

Add annotation to the column.

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)

Type Parameters

T

Type of annotation being added. Types sported as entries in columns are also supported as entries in Annotations. Multiple annotations may be added to one column.

Parameters

kind
String

The string identifier of the annotation.

value
T

Value of annotation.

annotationType
DataViewType

Type of value.

Applies to