Edit

Share via


GridColumnStylesCollection.IList.Add(Object) Method

Definition

Adds an object to the 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

Parameters

value
Object

The object to be added to the collection. The value can be null.

Returns

The index at which the value has been added.

Implements

Exceptions

value cannot be cast to a DataGridColumnStyle.

Applies to