Spread for ASP.NET 9.0 Product Documentation
GetSchema Method (Light)


This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the System.Xml.Serialization.XmlSchemaProviderAttribute to the class.
Syntax
'Declaration
 
Public Overridable Function GetSchema() As XmlSchema
'Usage
 
Dim instance As Light
Dim value As XmlSchema
 
value = instance.GetSchema()
public virtual XmlSchema GetSchema()

Return Value

An System.Xml.Schema.XmlSchema that describes the XML representation of the object that is produced by the System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter) method and consumed by the System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader) method.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Light Class
Light Members

 

 


Copyright © GrapeCity, inc. All rights reserved.