LiquidTechnologies.XmlObjects Namespace / XsdValidator Class / CreateValidatingReader Method / CreateValidatingReader(TextReader,ValidationEventHandler) Method
The System.IO.TextReader to read the XML data from
The error handler to report any errors

In This Topic
    CreateValidatingReader(TextReader,ValidationEventHandler) Method
    In This Topic
    Creates a validating System.Xml.XmlReader that can be used to read and validate the data in the textReader
    Syntax
    'Declaration
     
    
    Public Overloads Function CreateValidatingReader( _
       ByVal textReader As System.IO.TextReader, _
       ByVal errorHandler As System.Xml.Schema.ValidationEventHandler _
    ) As System.Xml.XmlReader
    public System.Xml.XmlReader CreateValidatingReader( 
       System.IO.TextReader textReader,
       System.Xml.Schema.ValidationEventHandler errorHandler
    )

    Parameters

    textReader
    The System.IO.TextReader to read the XML data from
    errorHandler
    The error handler to report any errors

    Return Value

    A validating System.Xml.XmlReader.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also