DataGridViewComboBoxCell.ObjectCollection.Add(Object) DataGridViewComboBoxCell.ObjectCollection.Add(Object) DataGridViewComboBoxCell.ObjectCollection.Add(Object) DataGridViewComboBoxCell.ObjectCollection.Add(Object) Method

Definition

Adds an item to the list of items for a DataGridViewComboBoxCell.

public:
 int Add(System::Object ^ item);
public int Add (object item);
member this.Add : obj -> int
Public Function Add (item As Object) As Integer

Parameters

item
Object Object Object Object

An object representing the item to add to the collection.

Returns

The position into which the new element was inserted.

Implements

Exceptions

Applies to

See also