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小于零或大于或等于indexCount引发。

注解

这是一个索引属性,支持标准索引语法(类似于用于访问数组中的特定单元格)。

适用于