DataGridViewComboBoxCell.ObjectCollection Class
Represents the collection of selection choices in a DataGridViewComboBoxCell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | DataGridViewComboBoxCell.ObjectCollection(DataGridViewComboBoxCell) | Initializes a new instance of the DataGridViewComboBoxCell.ObjectCollection class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of items in the collection. |
![]() | IsReadOnly | Gets a value indicating whether the collection is read-only. |
![]() | Item(Int32) | Gets or sets the item at the current index location. In C#, this property is the indexer for the DataGridViewComboBoxCell.ObjectCollection class. |
| Name | Description | |
|---|---|---|
![]() | Add(Object) | Adds an item to the list of items for a DataGridViewComboBoxCell. |
![]() | AddRange(Object()) | Adds one or more items to the list of items for a DataGridViewComboBoxCell. |
![]() | AddRange(DataGridViewComboBoxCell.ObjectCollection) | Adds the items of an existing DataGridViewComboBoxCell.ObjectCollection to the list of items in a DataGridViewComboBoxCell. |
![]() | Clear() | Clears all items from the collection. |
![]() | Contains(Object) | Determines whether the specified item is contained in the collection. |
![]() | CopyTo(Object(), Int32) | Copies the entire collection into an existing array of objects at a specified location within the array. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that can iterate through a DataGridViewComboBoxCell.ObjectCollection. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IndexOf(Object) | Returns the index of the specified item in the collection. |
![]() | Insert(Int32, Object) | Inserts an item into the collection at the specified index. |
![]() | MemberwiseClone() | |
![]() | Remove(Object) | Removes the specified object from the collection. |
![]() | RemoveAt(Int32) | Removes the object at the specified index. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection.CopyTo(Array, Int32) | Copies the elements of the collection to the specified array, starting at the specified index. |
![]() ![]() | IList.Add(Object) | Adds an object to the collection. |
![]() ![]() | ICollection.IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread safe). |
![]() ![]() | ICollection.SyncRoot | Gets an object that can be used to synchronize access to the collection. |
![]() ![]() | IList.IsFixedSize | Gets a value indicating whether the collection has a fixed size. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast(Of TResult)() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType(Of TResult)() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
You can retrieve DataGridViewComboBoxCell.ObjectCollection objects from the DataGridViewComboBoxCell.Items property or the DataGridViewComboBoxColumn.Items property.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





