TableRowGroupCollection.IndexOf(TableRowGroup) 方法

定義

傳回所指定集合項目的以零起始的索引。

public:
 virtual int IndexOf(System::Windows::Documents::TableRowGroup ^ item);
public int IndexOf (System.Windows.Documents.TableRowGroup item);
abstract member IndexOf : System.Windows.Documents.TableRowGroup -> int
override this.IndexOf : System.Windows.Documents.TableRowGroup -> int
Public Function IndexOf (item As TableRowGroup) As Integer

參數

item
TableRowGroup

要傳回索引的集合項目。

傳回

Int32

所指定集合項目之以零為起始的索引,或者,如果指定的項目不是集合的成員則為 -1

實作

適用於