語言

TableColumnCollection.Item[Int32] 屬性

定義

取得位於指定索引處的集合專案。 這是索引屬性。

public:
 property System::Windows::Documents::TableColumn ^ default[int] { System::Windows::Documents::TableColumn ^ get(int index); void set(int index, System::Windows::Documents::TableColumn ^ value); };
public System.Windows.Documents.TableColumn this[int index] { get; set; }
member this.Item(int) : System.Windows.Documents.TableColumn with get, set
Default Public Property Item(index As Integer) As TableColumn

參數

index
Int32

一個以零為基礎的索引,指定要檢索的集合項目的位置。

屬性值

該項目位於指定索引。

實作

例外狀況

當 index 小於零,或當 index 大於或等於 Count時,升高 。

備註

這是一個支援標準索引語法的索引屬性(類似於用於存取陣列中特定儲存格的語法)。

適用於