PrincipalValueCollection<T>.IList.Add(Object) Metoda

Definice

Přidá zadaný objekt na konec kolekce.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
[System.Security.SecurityCritical]
int IList.Add (object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
[<System.Security.SecurityCritical>]
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

Objekt, který má být přidán do kolekce.

Návraty

Pozice, do které byl vložen nový prvek, nebo -1 označující, že položka nebyla vložena do kolekce.

Implementuje

Atributy

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze jej použít pouze v případě, že PrincipalValueCollection<T> je instance přetypovaná na IList rozhraní.

Platí pro