IXmlSerializable.GetSchema Method

XElement.IXmlSerializable.GetSchema Method

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

Gets an XML schema definition that describes the XML representation of this object.

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

'Declaration
Private Function GetSchema As XmlSchema
	Implements IXmlSerializable.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.

Implements

IXmlSerializable.GetSchema

This method is part of implementation of the IXmlSerializable interface.

This method is used internally for serializing object graphs that contain LINQ to XML objects.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft