編輯

共用方式為


TableRowGroupCollection.IndexOf(TableRowGroup) Method

Definition

Returns the zero-based index of specified collection item.

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

Parameters

item
TableRowGroup

A collection item to return the index of.

Returns

The zero-based index of the specified collection item, or -1 if the specified item is not a member of the collection.

Implements

Applies to