Export (0) Print
Expand All

DataRowCollection Methods

The methods of the DataRowCollection class are listed here. For a complete list of DataRowCollection class members, see the DataRowCollection Members topic.

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Overloaded. Adds a DataRow to the DataRowCollection.
public methodClear

Supported by the .NET Compact Framework.

Clears the collection of all rows.
public methodContains

Supported by the .NET Compact Framework.

Overloaded. Gets a value indicating whether the primary key column(s) of any row in the collection contains the specified value.
public methodCopyTo (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Copies all the elements of the current InternalDataCollectionBase to a one-dimensional Array, starting at the specified InternalDataCollectionBase index.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFind

Supported by the .NET Compact Framework.

Overloaded. Gets a specified DataRow.
public methodGetEnumerator (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Gets an IEnumerator for the collection.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInsertAt

Supported by the .NET Compact Framework.

Inserts a new row into the collection at the specified location.
public methodRemove

Supported by the .NET Compact Framework.

Removes the specified DataRow from the collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Removes the row at the specified index from the collection.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

DataRowCollection Class | System.Data Namespace

Show:
© 2014 Microsoft