XmlSchema Methods

The XmlSchema type exposes the following members.

  Name Description
Public method Compile(ValidationEventHandler) Obsolete. Compiles the XML Schema Object Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically built SOM. Semantic validation checking is performed during compilation.
Public method Compile(ValidationEventHandler, XmlResolver) Obsolete. Compiles the XML Schema Object Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically built SOM. Semantic validation checking is performed during compilation.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Read(Stream, ValidationEventHandler) Reads an XML Schema from the supplied stream.
Public method Static member Read(TextReader, ValidationEventHandler) Reads an XML Schema from the supplied TextReader.
Public method Static member Read(XmlReader, ValidationEventHandler) Reads an XML Schema from the supplied XmlReader.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Write(Stream) Writes the XML Schema to the supplied data stream.
Public method Write(TextWriter) Writes the XML Schema to the supplied TextWriter.
Public method Write(XmlWriter) Writes the XML Schema to the supplied XmlWriter.
Public method Write(Stream, XmlNamespaceManager) Writes the XML Schema to the supplied Stream using the XmlNamespaceManager specified.
Public method Write(TextWriter, XmlNamespaceManager) Writes the XML Schema to the supplied TextWriter.
Public method Write(XmlWriter, XmlNamespaceManager) Writes the XML Schema to the supplied XmlWriter.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft