This documentation is archived and is not being maintained.
DataSet Members
Visual Studio 2008
Represents an in-memory cache of data.
The DataSet type exposes the following members.
| Name | Description | |
|---|---|---|
|
AcceptChanges | Commits all the changes made to this DataSet since it was loaded or since the last time AcceptChanges was called. |
|
BeginInit | Begins the initialization of a DataSet that is used on a form or used by another component. The initialization occurs at run time. |
|
Clear | Clears the DataSet of any data by removing all rows in all tables. |
|
Clone | Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data. |
|
Copy | Copies both the structure and data for this DataSet. |
|
CreateDataReader | Overloaded. Returns a DataTableReader with one result set per DataTable, in the same sequence as the tables appear in the Tables collection. |
|
DetermineSchemaSerializationMode | Overloaded. Determines the SchemaSerializationMode for a DataSet. |
|
Dispose | Overloaded. Releases the resources used by the MarshalByValueComponent. |
|
EndInit | Ends the initialization of a DataSet that is used on a form or used by another component. The initialization occurs at run time. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from MarshalByValueComponent.) |
|
GetChanges | Overloaded. Gets a copy of the DataSet containing all changes made to it since it was last loaded, or since AcceptChanges was called. |
|
GetDataSetSchema | Infrastructure. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetObjectData | Populates a serialization information object with the data needed to serialize the DataSet. |
|
GetSchemaSerializable | Infrastructure. |
|
GetSerializationData | Infrastructure. |
|
GetService | Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
GetXml | Returns the XML representation of the data stored in the DataSet. |
|
GetXmlSchema | Returns the XML Schema for the XML representation of the data stored in the DataSet. |
|
HasChanges | Overloaded. Gets a value indicating whether the DataSet has changes, including new, deleted, or modified rows. |
|
InferXmlSchema | Overloaded. Applies XML schema to the DataSet. |
|
InitializeDerivedDataSet | Infrastructure. |
|
IsBinarySerialized | Inspects the format of the serialized representation of the DataSet. |
|
Load | Overloaded. Fills a DataSet with values from a data source using the supplied IDataReader. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Merge | Overloaded. Merges a specified DataSet, DataTable, or array of DataRow objects into the current DataSet or DataTable. |
|
OnPropertyChanging | Raises the OnPropertyChanging event. |
|
OnRemoveRelation | Occurs when a DataRelation object is removed from a DataTable. |
|
OnRemoveTable | Occurs when a DataTable is removed from a DataSet. |
|
RaisePropertyChanging | Sends a notification that the specified DataSet property is about to change. |
|
ReadXml | Overloaded. Reads XML schema and data into the DataSet. |
|
ReadXmlSchema | Overloaded. Reads an XML schema into the DataSet. |
|
ReadXmlSerializable | Infrastructure. |
|
RejectChanges | Rolls back all the changes made to the DataSet since it was created, or since the last time DataSet::AcceptChanges was called. |
|
Reset | Resets the DataSet to its original state. Subclasses should override Reset to restore a DataSet to its original state. |
|
ShouldSerializeRelations | Gets a value indicating whether Relations property should be persisted. |
|
ShouldSerializeTables | Gets a value indicating whether Tables property should be persisted. |
|
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent.) |
|
WriteXml | Overloaded. Writes XML data, and optionally the schema, from the DataSet. |
|
WriteXmlSchema | Overloaded. Writes the DataSet structure as an XML schema. |
| Name | Description | |
|---|---|---|
|
CaseSensitive | Gets or sets a value indicating whether string comparisons within DataTable objects are case-sensitive. |
|
Container | Gets the container for the component. (Inherited from MarshalByValueComponent.) |
|
DataSetName | Gets or sets the name of the current DataSet. |
|
DefaultViewManager | Gets a custom view of the data contained in the DataSet to allow filtering, searching, and navigating using a custom DataViewManager. |
|
DesignMode | Gets a value indicating whether the component is currently in design mode. (Inherited from MarshalByValueComponent.) |
|
EnforceConstraints | Gets or sets a value indicating whether constraint rules are followed when attempting any update operation. |
|
Events | Gets the list of event handlers that are attached to this component. (Inherited from MarshalByValueComponent.) |
|
ExtendedProperties | Gets the collection of customized user information associated with the DataSet. |
|
HasErrors | Gets a value indicating whether there are errors in any of the DataTable objects within this DataSet. |
|
IsInitialized | Gets a value that indicates whether the DataSet is initialized. |
|
Locale | Gets or sets the locale information used to compare strings within the table. |
|
Namespace | Gets or sets the namespace of the DataSet. |
|
Prefix | Gets or sets an XML prefix that aliases the namespace of the DataSet. |
|
Relations | Get the collection of relations that link tables and allow navigation from parent tables to child tables. |
|
RemotingFormat | Gets or sets a SerializationFormat for the DataSet used during remoting. |
|
SchemaSerializationMode | Gets or sets a SchemaSerializationMode for a DataSet. |
|
Site | Gets or sets an System.ComponentModel::ISite for the DataSet. (Overrides MarshalByValueComponent::Site.) |
|
Tables | Gets the collection of tables contained in the DataSet. |
| Name | Description | |
|---|---|---|
|
Disposed | Adds an event handler to listen to the Disposed event on the component. (Inherited from MarshalByValueComponent.) |
|
Initialized | Occurs after the DataSet is initialized. |
|
MergeFailed | Occurs when a target and source DataRow have the same primary key value, and EnforceConstraints is set to true. |
Show: