DataGridViewRowCollection Methods

DataGridViewRowCollection Methods

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodAdd()

Adds a new row to the collection.

System_CAPS_pubmethodAdd(DataGridViewRow)

Adds the specified DataGridViewRow to the collection.

System_CAPS_pubmethodAdd(Int32)

Adds the specified number of new rows to the collection.

System_CAPS_pubmethodAdd(Object[])

Adds a new row to the collection, and populates the cells with the specified objects.

System_CAPS_pubmethodAddCopies(Int32, Int32)

Adds the specified number of rows to the collection based on the row at the specified index.

System_CAPS_pubmethodAddCopy(Int32)

Adds a new row based on the row at the specified index.

System_CAPS_pubmethodAddRange(DataGridViewRow[])

Adds the specified DataGridViewRow objects to the collection.

System_CAPS_pubmethodClear()

Clears the collection.

System_CAPS_pubmethodContains(DataGridViewRow)

Determines whether the specified DataGridViewRow is in the collection.

System_CAPS_pubmethodCopyTo(DataGridViewRow[], Int32)

Copies the items from the collection into the specified DataGridViewRow array, starting at the specified index.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetFirstRow(DataGridViewElementStates)

Returns the index of the first DataGridViewRow that meets the specified criteria.

System_CAPS_pubmethodGetFirstRow(DataGridViewElementStates, DataGridViewElementStates)

Returns the index of the first DataGridViewRow that meets the specified inclusion and exclusion criteria.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLastRow(DataGridViewElementStates)

Returns the index of the last DataGridViewRow that meets the specified criteria.

System_CAPS_pubmethodGetNextRow(Int32, DataGridViewElementStates)

Returns the index of the next DataGridViewRow that meets the specified criteria.

System_CAPS_pubmethodGetNextRow(Int32, DataGridViewElementStates, DataGridViewElementStates)

Returns the index of the next DataGridViewRow that meets the specified inclusion and exclusion criteria.

System_CAPS_pubmethodGetPreviousRow(Int32, DataGridViewElementStates)

Returns the index of the previous DataGridViewRow that meets the specified criteria.

System_CAPS_pubmethodGetPreviousRow(Int32, DataGridViewElementStates, DataGridViewElementStates)

Returns the index of the previous DataGridViewRow that meets the specified inclusion and exclusion criteria.

System_CAPS_pubmethodGetRowCount(DataGridViewElementStates)

Returns the number of DataGridViewRow objects in the collection that meet the specified criteria.

System_CAPS_pubmethodGetRowsHeight(DataGridViewElementStates)

Returns the cumulative height of the DataGridViewRow objects that meet the specified criteria.

System_CAPS_pubmethodGetRowState(Int32)

Gets the state of the row with the specified index.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(DataGridViewRow)

Returns the index of a specified item in the collection.

System_CAPS_pubmethodInsert(Int32, DataGridViewRow)

Inserts the specified DataGridViewRow into the collection.

System_CAPS_pubmethodInsert(Int32, Int32)

Inserts the specified number of rows into the collection at the specified location.

System_CAPS_pubmethodInsert(Int32, Object[])

Inserts a row into the collection at the specified position, and populates the cells with the specified objects.

System_CAPS_pubmethodInsertCopies(Int32, Int32, Int32)

Inserts rows into the collection at the specified position.

System_CAPS_pubmethodInsertCopy(Int32, Int32)

Inserts a row into the collection at the specified position, based on the row at specified position.

System_CAPS_pubmethodInsertRange(Int32, DataGridViewRow[])

Inserts the DataGridViewRow objects into the collection at the specified position.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnCollectionChanged(CollectionChangeEventArgs)

Raises the CollectionChanged event.

System_CAPS_pubmethodRemove(DataGridViewRow)

Removes the row from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the row at the specified position from the collection.

System_CAPS_pubmethodSharedRow(Int32)

Returns the DataGridViewRow at the specified index.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the elements of the collection to an Array, starting at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds a DataGridViewRow to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all items from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Determines whether the collection contains the specified item.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Returns the index of a specified item in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts a DataGridViewRow into the collection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the specified DataGridViewRow from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.RemoveAt(Int32)

Removes the DataGridViewRow from the collection at the specified position.

Return to top
Show:
© 2016 Microsoft