UIElementCollection.IList.IndexOf(Object) Metoda

Definicja

Ten typ lub element członkowski obsługuje infrastrukturę Windows Presentation Foundation (WPF) i nie jest przeznaczony do użycia bezpośrednio z kodu. Aby uzyskać opis tego elementu członkowskiego, zobacz IndexOf(Object).

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

Parametry

value
Object

Obiekt do zlokalizowania na liście.

Zwraca

Int32

Indeks, jeśli zostanie znaleziony value na liście; w przeciwnym razie -1.

Implementuje

Dotyczy

Zobacz też