TableLayoutRowStyleCollection.IndexOf(RowStyle) Método

Definição

Determina o índice de um item específico no 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

Parâmetros

rowStyle
RowStyle

O RowStyle para localizar no TableLayoutRowStyleCollection.

Devoluções

O índice de rowStyle se for encontrado no TableLayoutRowStyleCollection; caso contrário, -1.

Observações

O IndexOf método começa a procurar no primeiro elemento do TableLayoutRowStyleCollection e termina quando encontra uma correspondência ou quando chega ao último elemento.

Aplica-se a

Ver também