TableRowCollection.IndexOf Method (TableRow)

 

Returns the zero-based index of specified collection item.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public int IndexOf(
	TableRow item
)

Parameters

item
Type: System.Windows.Documents.TableRow

A collection item to return the index of.

Return Value

Type: System.Int32

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

.NET Framework
Available since 3.0
Return to top
Show: