PrincipalValueCollection<T>.IList.Add(Object) Méthode

Définition

Ajoute l'objet spécifié à la fin de la collection.

 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

Paramètres

value
Object

Objet à ajouter à la collection.

Retours

Position à laquelle le nouvel élément a été inséré ou -1 pour indiquer que l'élément n'a pas été inséré dans la collection.

Implémente

Attributs

Remarques

Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de PrincipalValueCollection<T> est castée en interface IList.

S’applique à