DataViewSchema.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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