ToolStripItemCollection.IList.Add(Object) Metoda

Definicja

Dodaje element do kolekcji.

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

Parametry

value
Object

Element, który ma zostać dodany do kolekcji.

Zwraca

Int32

Lokalizacja, w której value została wstawiona.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ToolStripItemCollection wystąpienie jest rzutowanie do interfejsu IList .

Dotyczy