共用方式為


DataViewSchema.Item[] 屬性

定義

多載

Item[Int32]

依索引取得資料行。

Item[String]

依名稱取得資料行。 如果這類資料行不存在,則會擲回例外狀況。 請注意,如果有多個資料行具有相同名稱,則會傳回具有最大索引的資料行。 其他資料行會被視為「隱藏」,而且只能由其索引存取。

Item[Int32]

依索引取得資料行。

public Microsoft.ML.DataViewSchema.Column this[int columnIndex] { get; }
member this.Item(int) : Microsoft.ML.DataViewSchema.Column
Default Public ReadOnly Property Item(columnIndex As Integer) As DataViewSchema.Column

參數

columnIndex
Int32

屬性值

實作

適用於

Item[String]

依名稱取得資料行。 如果這類資料行不存在,則會擲回例外狀況。 請注意,如果有多個資料行具有相同名稱,則會傳回具有最大索引的資料行。 其他資料行會被視為「隱藏」,而且只能由其索引存取。

public Microsoft.ML.DataViewSchema.Column this[string name] { get; }
member this.Item(string) : Microsoft.ML.DataViewSchema.Column
Default Public ReadOnly Property Item(name As String) As DataViewSchema.Column

參數

name
String

屬性值

適用於