TableRowCollection.Item[Int32] Property

Definition

获取指定索引处的集合项。Gets the collection item at a specified index. 这是一个索引属性。This is an indexed property.

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

Parameters

index
Int32

从零开始的索引,指定要检索的集合项的位置。A zero-based index specifying the position of the collection item to retrieve.

Property Value

TableRow

指定索引处的集合项。The collection item at the specified index.

Implements

Exceptions

index 小于零,或 index 大于或等于 Count 时引发。Raised when index is less than zero, or when index is greater than or equal to Count.

Remarks

这是一个支持标准索引语法的索引属性(类似于用于访问数组中的特定单元格的语法)。This is an indexed property that supports standard indexing syntax (similar to that used to access a particular cell in an array).

Applies to