語言

TableCellCollection.Item[Int32] 屬性

定義

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

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

參數

index
Int32

一個以零為基礎的索引,用來指定收藏項目的位置。

屬性值

該項目位於指定索引。

實作

例外狀況

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

備註

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

適用於