GridTableStylesCollection.IList.Add(Object) Méthode

Définition

Ajoute un DataGridTableStyle à cette collection.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
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

Paramètres

value
Object

Objet DataGridTableStyle à ajouter à la collection.

Retours

Index du nouvel objet ajouté.

Implémente

Exceptions

Impossible d'effectuer un cast de value en DataGridTableStyle.

La valeur value a déjà été assignée à GridTableStylesCollection.

- ou -

DataGridTableStyle dans GridTableStylesCollection a la même valeur de propriété MappingName que value.

S’applique à