TextParser Library | ComponentOne
C1.TextParser Namespace / HtmlExtractor Class / Extract Method
The text stream into the extractor process
The encoding of the input stream. If the encoding is set to null (default input value), then UTF8 encoding is used



In This Topic
    Extract Method (HtmlExtractor)
    In This Topic
    Execute the process of extracting from the input text stream
    Syntax
    'Declaration
     
    
    Public Function Extract( _
       ByVal input As Stream, _
       Optional ByVal encoding As Encoding _
    ) As IExtractionResult
    'Usage
     
    
    Dim instance As HtmlExtractor
    Dim input As Stream
    Dim encoding As Encoding
    Dim value As IExtractionResult
     
    value = instance.Extract(input, encoding)

    Parameters

    input
    The text stream into the extractor process
    encoding
    The encoding of the input stream. If the encoding is set to null (default input value), then UTF8 encoding is used

    Return Value

    Return a IExtractionResult instance containing the extraction results
    Exceptions
    ExceptionDescription
    The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
    See Also