Nyelv

TableLayoutColumnStyleCollection.IndexOf(ColumnStyle) Metódus

Definíció

Egy adott elem indexét határozza meg a TableLayoutColumnStyleCollection.

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

Paraméterek

Válaszok

Ha az columnStyle ; egyéb esetben -1, akkor az TableLayoutColumnStyleCollectionindexe.

Megjegyzések

A IndexOf metódus az első elemnél TableLayoutColumnStyleCollection kezd keresni, és akkor ér véget, ha talál egyezést, vagy eléri az utolsó elemet.

A következőre érvényes:

Lásd még