語言

DataViewSchema.Item[] 屬性

定義

多載

名稱 Description
Item[Int32]

以索引取得欄位。

Item[String]

請按專欄名稱查詢。 若不存在該欄位,則拋出例外。 請注意,如果存在多個同名欄位,則回傳索引最大的欄位。 其他欄位則被視為「隱藏」,只能透過索引存取。

Item[Int32]

來源:
DataViewSchema.cs
來源:
DataViewSchema.cs
來源:
DataViewSchema.cs

以索引取得欄位。

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]

來源:
DataViewSchema.cs
來源:
DataViewSchema.cs
來源:
DataViewSchema.cs

請按專欄名稱查詢。 若不存在該欄位,則拋出例外。 請注意,如果存在多個同名欄位,則回傳索引最大的欄位。 其他欄位則被視為「隱藏」,只能透過索引存取。

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

屬性值

適用於