SchemaDefinition Class

Definition

This class defines a schema of a typed data view.

public sealed class SchemaDefinition : System.Collections.Generic.List<Microsoft.ML.Data.SchemaDefinition.Column>
type SchemaDefinition = class
    inherit List<SchemaDefinition.Column>
Public NotInheritable Class SchemaDefinition
Inherits List(Of SchemaDefinition.Column)
Inheritance
SchemaDefinition

Properties

Item[String]

Get or set the column definition by column name. If there's no such column:

  • get returns null,
  • set adds a new column. If there's more than one column with the same name:
  • get returns the first column,
  • set replaces the first column.

Methods

Create(Type, SchemaDefinition+Direction)

Create a schema definition by enumerating all public fields of the given type.

Applies to