NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataSet.Copy

Copies both the structure and data for this DataSet.

[Visual Basic]
Public Function Copy() As DataSet
[C#]
public DataSet Copy();
[C++]
public: DataSet* Copy();
[JScript]
public function Copy() : DataSet;

Return Value

A new DataSet with the same structure (table schemas, relations, and constraints) and data as this DataSet.

Note   If these classes have been subclassed, the copy will also be of the same subclasses.

See Also

DataSet Class | DataSet Members | System.Data Namespace | Clone