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

Definicja

Dodaje określony obiekt na końcu kolekcji.

 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

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

Zwraca

Położenie, w którym został wstawiony nowy element, lub -1, aby wskazać, że element nie został wstawiony do kolekcji.

Implementuje

Atrybuty

Uwagi

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

Dotyczy