TableLayoutRowStyleCollection::IndexOf Method (RowStyle^)
.NET Framework (current version)
Determines the index of a specific item in the TableLayoutRowStyleCollection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- rowStyle
-
Type:
System.Windows.Forms::RowStyle^
The RowStyle to locate in the TableLayoutRowStyleCollection.
Return Value
Type: System::Int32The index of rowStyle if found in the TableLayoutRowStyleCollection; otherwise, -1.
The IndexOf method begins searching at the first element of the TableLayoutRowStyleCollection and ends either when it finds a match or it reaches the last element.
.NET Framework
Available since 2.0
Available since 2.0
Show: