System::Xml::Schema::XmlSchema::Read método

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

Lee un XML Schema del flujo suministrado.

static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<IO::Stream> &stream, ValidationEventHandler validationEventHandler)
ParámetroTipoDescripción
flujoconst SharedPtr<IO::Stream>&El flujo de datos suministrado.
validationEventHandlerValidationEventHandlerEl controlador de eventos de validación que recibe información sobre errores de sintaxis del Schema XML.

ReturnValue

El objeto XmlSchema que representa el Schema XML.

Ver también

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

Lee un Schema XML del IO::TextReader suministrado.

static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<IO::TextReader> &reader, ValidationEventHandler validationEventHandler)
ParámetroTipoDescripción
readerconst SharedPtr<IO::TextReader>&El IO::TextReader que contiene el Schema XML para leer.
validationEventHandlerValidationEventHandlerEl controlador de eventos de validación que recibe información sobre los errores de sintaxis del Schema XML.

ReturnValue

El objeto XmlSchema que representa el Schema XML.

Ver también

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

Lee un Schema XML del XmlReader suministrado.

static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<XmlReader> &reader, ValidationEventHandler validationEventHandler)
ParámetroTipoDescripción
readerconst SharedPtr<XmlReader>&El XmlReader que contiene el Schema XML para leer.
validationEventHandlerValidationEventHandlerEl controlador de eventos de validación que recibe información sobre los errores de sintaxis del Schema XML.

ReturnValue

El objeto XmlSchema que representa el Schema XML.

Ver también