System::Xml::Schema::XmlSchema::Read method

XmlSchema::Read(const SharedPtr<IO::Stream>&, ValidationEventHandler) method

Reads an XML Schema from the supplied stream.

static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<IO::Stream> &stream, ValidationEventHandler validationEventHandler)
ParameterTypeDescription
streamconst SharedPtr<IO::Stream>&The supplied data stream.
validationEventHandlerValidationEventHandlerThe validation event handler that receives information about XML Schema syntax errors.

ReturnValue

The XmlSchema object representing the XML Schema.

See Also

XmlSchema::Read(const SharedPtr<IO::TextReader>&, ValidationEventHandler) method

Reads an XML Schema from the supplied IO::TextReader.

static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<IO::TextReader> &reader, ValidationEventHandler validationEventHandler)
ParameterTypeDescription
readerconst SharedPtr<IO::TextReader>&The IO::TextReader containing the XML Schema to read.
validationEventHandlerValidationEventHandlerThe validation event handler that receives information about the XML Schema syntax errors.

ReturnValue

The XmlSchema object representing the XML Schema.

See Also

XmlSchema::Read(const SharedPtr<XmlReader>&, ValidationEventHandler) method

Reads an XML Schema from the supplied XmlReader.

static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<XmlReader> &reader, ValidationEventHandler validationEventHandler)
ParameterTypeDescription
readerconst SharedPtr<XmlReader>&The XmlReader containing the XML Schema to read.
validationEventHandlerValidationEventHandlerThe validation event handler that receives information about the XML Schema syntax errors.

ReturnValue

The XmlSchema object representing the XML Schema.

See Also