TextParser Library
C1.TextParser Assembly / C1.TextParser Namespace / TemplateBasedExtractor 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 (TemplateBasedExtractor)
    In This Topic
    Execute the process of extracting from the input text stream
    Syntax
    'Declaration
     
    Public Function Extract( _
       ByVal input As System.IO.Stream, _
       Optional ByVal encoding As System.Text.Encoding _
    ) As IExtractionResult
    public IExtractionResult Extract( 
       System.IO.Stream input,
       System.Text.Encoding 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 one of the arguments provided to a method is not valid.
    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