TableLayoutRowStyleCollection.IndexOf(RowStyle) Metoda

Definice

Určuje index konkrétní položky v objektu TableLayoutRowStyleCollection.

public:
 int IndexOf(System::Windows::Forms::RowStyle ^ rowStyle);
public int IndexOf (System.Windows.Forms.RowStyle rowStyle);
member this.IndexOf : System.Windows.Forms.RowStyle -> int
Public Function IndexOf (rowStyle As RowStyle) As Integer

Parametry

rowStyle
RowStyle

Umístění RowStyle v souboru TableLayoutRowStyleCollection.

Návraty

Int32

Index rowStyle , pokud je nalezen v souboru TableLayoutRowStyleCollection; jinak, -1.

Poznámky

Metoda IndexOf začne prohledávat první prvek TableLayoutRowStyleCollection a končí buď když najde shodu, nebo dosáhne posledního prvku.

Platí pro

Viz také