Mono Class Library: System.Data.DataSet Overview | Members

System.Data.DataSet.Copy Method

Copies both the structure (schemas, relations and constraints) of the current object.

public DataSet Copy ()

Returns

A new object which contains a copy of the current object's schema and data.

Remarks

If the current object is a subclass of DataSet, the clone will also be of the same type.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0