GetSchema Method
Collapse the table of content
Expand the table of content

IXmlSerializable.GetSchema Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return a null reference (Nothing in Visual Basic) from this method.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

XmlSchema GetSchema()

Return Value

Type: System.Xml.Schema.XmlSchema
An XmlSchema that describes the XML representation of the object that is produced by the WriteXml method and consumed by the ReadXml method.

When serializing or deserializing an object, the XmlSerializer class does not perform XML validation.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft