Język

TabControl.TabPageCollection.IList.Add(Object) Metoda

Definicja

Dodaje kontrolkę TabPage do kolekcji.

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

Parametry

value
Object

Element TabPage do dodania do kolekcji.

Zwraca

Położenie, w którym TabPage wstawiono element .

Implementuje

Wyjątki

valuenie jest .TabPage

Parametr value ma wartość null.

Uwagi

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

Dotyczy