System.Data.MappingType Enumeration

Specifies how a System.Data.DataColumn is mapped.

Syntax

public enum MappingType

Remarks

The System.Data.MappingType enumeration is used when getting or setting the DataColumn.ColumnMapping property of the System.Data.DataColumn. The property determines how a column's values will be written when the DataSet.WriteXml(System.IO.Stream) method is called on a System.Data.DataSet to write the data and schema out as an XML document.

Members

Member NameDescription
Attribute

The column is mapped to an XML attribute.

Element

The column is mapped to an XML element.

Hidden

The column is mapped to an internal structure.

SimpleContent

The column is mapped to an System.Xml.XmlText node.

Requirements

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