Gets or sets the MappingType of the column.
Assembly: System.Data (in System.Data.dll)
For example, if a DataColumn is named "customerID," and its property is set to MappingType.Element, the column value will produce the following XML:
<Customers> <customerID>ALFKI</customerID> ...... </Customers> <Orders> <OrderID>12345</OrderID> <customerID>ALFKI</customerID> ...... </Orders>
However, if the same column is mapped to MappingType.Attribute, the following XML is produced:
<Customers customerID="ALFKI"........more attributes.....> <Order orderID="1234"....more attributes..../> <Order orderID="1234"....more attributes..../> ...... More orders for this customer </Customers>
The property corresponds to the constructor argument type.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2