Edit

Share via


TableRowCollection.IndexOf(TableRow) Method

Definition

Returns the zero-based index of specified collection item.

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

Parameters

item
TableRow

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