Język

GridTableStylesCollection.IList.Add(Object) Metoda

Definicja

Dodaje element DataGridTableStyle do tej kolekcji.

 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

Parametry

value
Object

Element DataGridTableStyle do dodania do kolekcji.

Zwraca

Indeks nowo dodanego obiektu.

Implementuje

Wyjątki

valuenie można rzutować do .DataGridTableStyle

valuezostał już przypisany do .GridTableStylesCollection

— lub —

Element DataGridTableStyle w GridTableStylesCollection ma tę samą MappingName wartość właściwości co value.

Dotyczy