Język

TableLayoutStyleCollection.IList.IndexOf(Object) Metoda

Definicja

Aby uzyskać opis tej metody, zobacz metodę IndexOf(Object) .

 virtual int System.Collections.IList.IndexOf(System::Object ^ style) = System::Collections::IList::IndexOf;
int IList.IndexOf(object style);
int IList.IndexOf(object? style);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (style As Object) As Integer Implements IList.IndexOf

Parametry

style
Object

Element Object do zlokalizowania w obiekcie IList.

Zwraca

Indeks , style jeśli znajduje się na liście; w przeciwnym razie -1.

Implementuje

Uwagi

Ten element członkowski jest jawną implementacją składową interfejsu. Można go używać tylko wtedy, gdy TableLayoutStyleCollection wystąpienie jest rzutowanie do interfejsu IList .

Dotyczy