Read()

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)

Arguments

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.

Return Value

The XmlSchema object representing the XML Schema.

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)

Arguments

ParameterTypeDescription
streamconst SharedPtr<IO::Stream>&The supplied data stream.
validationEventHandlerValidationEventHandlerThe validation event handler that receives information about XML Schema syntax errors.

Return Value

The XmlSchema object representing the XML Schema.

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)

Arguments

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.

Return Value

The XmlSchema object representing the XML Schema.

See Also