DataSet.DetermineSchemaSerializationMode Method (XmlReader)


Determines the SchemaSerializationMode for a DataSet.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

Protected Function DetermineSchemaSerializationMode (
	reader As XmlReader
) As SchemaSerializationMode


Type: System.Xml.XmlReader

The XmlReader instance that is passed during deserialization of the DataSet.

Return Value

Type: System.Data.SchemaSerializationMode

An SchemaSerializationMode enumeration indicating whether schema information has been omitted from the payload.

This method can be called when deserializing a typed DataSet to determine its SchemaSerializationMode.

.NET Framework
Available since 2.0
Return to top