DesignerActionListCollection.IndexOf(DesignerActionList) Metoda

Definicja

Określa indeks określonego elementu w kolekcji.

public:
 int IndexOf(System::ComponentModel::Design::DesignerActionList ^ value);
public int IndexOf (System.ComponentModel.Design.DesignerActionList value);
public int IndexOf (System.ComponentModel.Design.DesignerActionList? value);
member this.IndexOf : System.ComponentModel.Design.DesignerActionList -> int
Public Function IndexOf (value As DesignerActionList) As Integer

Parametry

value
DesignerActionList

Element DesignerActionList do zlokalizowania w kolekcji.

Zwraca

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

Uwagi

DesignerActionListCollection Wewnętrznie klasa używa klasy System.Collections.ArrayList do przechowywania kolekcji DesignerActionList obiektów.

Dotyczy

Zobacz też