DataViewSchema Třída

Definice

Představuje schéma nebo IDataViewDataViewRow. Schéma je kolekce DataViewSchema.Column.

[System.Diagnostics.DebuggerTypeProxy(typeof(Microsoft.ML.SchemaDebuggerProxy))]
public sealed class DataViewSchema : System.Collections.Generic.IEnumerable<Microsoft.ML.DataViewSchema.Column>, System.Collections.Generic.IReadOnlyCollection<Microsoft.ML.DataViewSchema.Column>, System.Collections.Generic.IReadOnlyList<Microsoft.ML.DataViewSchema.Column>
[<System.Diagnostics.DebuggerTypeProxy(typeof(Microsoft.ML.SchemaDebuggerProxy))>]
type DataViewSchema = class
    interface IReadOnlyList<DataViewSchema.Column>
    interface seq<DataViewSchema.Column>
    interface IEnumerable
    interface IReadOnlyCollection<DataViewSchema.Column>
Public NotInheritable Class DataViewSchema
Implements IEnumerable(Of DataViewSchema.Column), IReadOnlyCollection(Of DataViewSchema.Column), IReadOnlyList(Of DataViewSchema.Column)
Dědičnost
DataViewSchema
Atributy
Implementuje

Vlastnosti

Count

Počet sloupců ve schématu

Item[Int32]

Získá sloupec podle indexu.

Item[String]

Získejte sloupec podle názvu. Vyvolá výjimku, pokud takový sloupec neexistuje. Všimněte si, že pokud existuje více sloupců se stejným názvem, vrátí se ten, který má největší index. Ostatní sloupce jsou považovány za skryté a jsou přístupné pouze pomocí jejich indexu.

Metody

GetColumnOrNull(String)

Získejte sloupec podle názvu nebo null pokud sloupec není k dispozici.

GetEnumerator()

Představuje schéma nebo IDataViewDataViewRow. Schéma je kolekce DataViewSchema.Column.

ToString()

Představuje schéma nebo IDataViewDataViewRow. Schéma je kolekce DataViewSchema.Column.

Explicitní implementace rozhraní

IEnumerable.GetEnumerator()

Představuje schéma nebo IDataViewDataViewRow. Schéma je kolekce DataViewSchema.Column.

Platí pro