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

以零起始的索引,用來指定集合項目的位置。

屬性值

TableCell

位於指定之索引的集合項目。

實作

例外狀況

index 小於零時,或者當 index 大於或等於 Count 時引發。

備註

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

適用於