Export (0) Print
Expand All

DataRowCollection Methods

The DataRowCollection type exposes the following members.

  Name Description
Public method Add(DataRow) Adds the specified DataRow to the DataRowCollection object.
Public method Add(Object[]) Creates a row using specified values and adds it to the DataRowCollection.
Public method Clear Clears the collection of all rows.
Public method Contains(Object) Gets a value that indicates whether the primary key of any row in the collection contains the specified value.
Public method Contains(Object[]) Gets a value that indicates whether the primary key columns of any row in the collection contain the values specified in the object array.
Public method CopyTo(Array, Int32) Copies all the DataRow objects from the collection into the given array, starting at the given destination array index. (Overrides InternalDataCollectionBase.CopyTo(Array, Int32).)
Public method CopyTo(DataRow[], Int32) Copies all the DataRow objects from the collection into the given array, starting at the given destination array index.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Find(Object) Gets the row specified by the primary key value.
Public method Find(Object[]) Gets the row that contains the specified primary key values.
Public method GetEnumerator Gets an IEnumerator for this collection. (Overrides InternalDataCollectionBase.GetEnumerator().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index of the specified DataRow object.
Public method InsertAt Inserts a new row into the collection at the specified location.
Public method Remove Removes the specified DataRow from the collection.
Public method RemoveAt Removes the row at the specified index from the collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft