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

In This Topic
    Validate(TextReader,ValidationEventHandler) Method
    In This Topic
    Validates the data in the textReader
    Syntax
    'Declaration
     
    
    Public Overloads Sub Validate( _
       ByVal textReader As System.IO.TextReader, _
       ByVal errorHandler As System.Xml.Schema.ValidationEventHandler _
    ) 
    public void Validate( 
       System.IO.TextReader textReader,
       System.Xml.Schema.ValidationEventHandler errorHandler
    )

    Parameters

    textReader
    The System.IO.TextReader containing the XML data to validate
    errorHandler
    The error handler to report any errors
    Exceptions
    ExceptionDescription
    If the XML data is badly formed
    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