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

value nie można rzutować do elementu DataGridTableStyle.

valuezostał już przypisany do .GridTableStylesCollection

-lub-

Właściwość DataGridTableStyle in GridTableStylesCollection ma taką samą MappingName wartość właściwości jak value.

Dotyczy