''MappingType'' ''serializable'

MappingType serializable

System.Data (system.data.dll) enum

This enumeration specifies the DataColumn.ColumnMapping property, which determines how a column's value is written when the DataSet.WriteXml( ) method is called. Each column can be mapped to an element (Element ), which is the default; an attribute of the row element (Attribute ); omitted (Hidden ); or set to a text node within the element (SimpleContent ). There can be only one SimpleContent column in a table.

public enum MappingType {
   Element = 1,
   Attribute = 2,
   SimpleContent = 3,
   Hidden = 4


System.Object figs/U2192.gif System.ValueType figs/U2192.gif System.Enum(System.IComparable, System.IFormattable , System.IConvertible) figs/U2192.gif MappingType

Returned By


Passed To

DataColumn.{ColumnMapping , DataColumn( )}

    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference
    Chapter 34. The System.Data Namespace