SchemaAnnotationsExtensions.GetKeyValues<TValue> Method

Definition

Stores the key values of the input column into the provided buffer, if this is of key type and whose key values are of ItemType whose RawType matches TValue. If there is no matching key valued annotation this will throw an exception.

public static void GetKeyValues<TValue> (this Microsoft.ML.DataViewSchema.Column column, ref Microsoft.ML.Data.VBuffer<TValue> keyValues);
static member GetKeyValues : Microsoft.ML.DataViewSchema.Column * VBuffer -> unit
<Extension()>
Public Sub GetKeyValues(Of TValue) (column As DataViewSchema.Column, ByRef keyValues As VBuffer(Of TValue))

Type Parameters

TValue

The type of the key values.

Parameters

column
DataViewSchema.Column

The column whose Annotations will be queried.

keyValues
VBuffer<TValue>

The VBuffer<T> into which the key values will be stored.

Applies to