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

System.Data.DataSet.Namespace Property

Gets or sets the namespace of the DataSet.

[System.ComponentModel.DefaultValue("")]
public string Namespace { set; get; }

Value

The namespace of the DataSet.

Remarks

This property is used whenever the DataSet is read or written from/into an XML document.

The namespace is used to limit the set of values to read from an XML file when only data is read. Only the XML elements which are marked as belonging to the same namespace will be read into the DataSet.

Note:

Setting the property when the namespace already has data will raise the ArgumentException exception.

Requirements

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