Export (0) Print
Expand All

DataGridViewRowCollection Methods

The DataGridViewRowCollection type exposes the following members.

  Name Description
Public method Add() Adds a new row to the collection.
Public method Add(DataGridViewRow) Adds the specified DataGridViewRow to the collection.
Public method Add(Int32) Adds the specified number of new rows to the collection.
Public method Add(Object[]) Adds a new row to the collection, and populates the cells with the specified objects.
Public method AddCopies Adds the specified number of rows to the collection based on the row at the specified index.
Public method AddCopy Adds a new row based on the row at the specified index.
Public method AddRange Adds the specified DataGridViewRow objects to the collection.
Public method Clear Clears the collection.
Public method Contains Determines whether the specified DataGridViewRow is in the collection.
Public method CopyTo Copies the items from the collection into the specified DataGridViewRow array, starting at the specified index.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetFirstRow(DataGridViewElementStates) Returns the index of the first DataGridViewRow that meets the specified criteria.
Public method GetFirstRow(DataGridViewElementStates, DataGridViewElementStates) Returns the index of the first DataGridViewRow that meets the specified inclusion and exclusion criteria.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLastRow Returns the index of the last DataGridViewRow that meets the specified criteria.
Public method GetNextRow(Int32, DataGridViewElementStates) Returns the index of the next DataGridViewRow that meets the specified criteria.
Public method GetNextRow(Int32, DataGridViewElementStates, DataGridViewElementStates) Returns the index of the next DataGridViewRow that meets the specified inclusion and exclusion criteria.
Public method GetPreviousRow(Int32, DataGridViewElementStates) Returns the index of the previous DataGridViewRow that meets the specified criteria.
Public method GetPreviousRow(Int32, DataGridViewElementStates, DataGridViewElementStates) Returns the index of the previous DataGridViewRow that meets the specified inclusion and exclusion criteria.
Public method GetRowCount Returns the number of DataGridViewRow objects in the collection that meet the specified criteria.
Public method GetRowsHeight Returns the cumulative height of the DataGridViewRow objects that meet the specified criteria.
Public method GetRowState Gets the state of the row with the specified index.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index of a specified item in the collection.
Public method Insert(Int32, Int32) Inserts the specified number of rows into the collection at the specified location.
Public method Insert(Int32, Object[]) Inserts a row into the collection at the specified position, and populates the cells with the specified objects.
Public method Insert(Int32, DataGridViewRow) Inserts the specified DataGridViewRow into the collection.
Public method InsertCopies Inserts rows into the collection at the specified position.
Public method InsertCopy Inserts a row into the collection at the specified position, based on the row at specified position.
Public method InsertRange Inserts the DataGridViewRow objects into the collection at the specified position.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnCollectionChanged Raises the CollectionChanged event.
Public method Remove Removes the row from the collection.
Public method RemoveAt Removes the row at the specified position from the collection.
Public method SharedRow Returns the DataGridViewRow at the specified index.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method AsParallel() Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsParallel() Overloaded. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable() Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method AsQueryable() Overloaded. (Defined by Queryable.)
Public Extension Method Cast<TResult>() Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Cast<TResult>() Overloaded. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. (Defined by Enumerable.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an Array, starting at the specified index.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.
Explicit interface implemetation Private method IList.Add Adds a DataGridViewRow to the collection.
Explicit interface implemetation Private method IList.Clear Removes all items from the collection.
Explicit interface implemetation Private method IList.Contains Determines whether the collection contains the specified item.
Explicit interface implemetation Private method IList.IndexOf Returns the index of a specified item in the collection.
Explicit interface implemetation Private method IList.Insert Inserts a DataGridViewRow into the collection at the specified index.
Explicit interface implemetation Private method IList.Remove Removes the specified DataGridViewRow from the collection.
Explicit interface implemetation Private method IList.RemoveAt Removes the DataGridViewRow from the collection at the specified position.
Top
Show:
© 2014 Microsoft