Synopsis
String namespace
= DataColumn.Namespace;
DataColumn.Namespace = namespace
;
Gets or sets the XML namespace for the XML representation of the data
stored in the DataColumn
.
Example
The following example sets the Namespace
property
of the DataColumn
:
DataColumn col = new DataColumn();
col.Namespace = "AdoDotNetIan";
Note
The Namespace
property scopes the XML attributes
and elements when reading and writing the
DataColumn
using the ReadXml( )
, WriteXml( )
, ReadXmlSchema( )
, and WriteXmlSchema( )
methods of the
Dataset
the column belongs to.