Reads a document and returns an object holding it's text and any links.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract DocumentText Read( Stream stream, Uri uri, Encoding encoding )
Public MustOverride Function Read ( _ stream As Stream, _ uri As Uri, _ encoding As Encoding _ ) As DocumentText
public: virtual DocumentText^ Read( Stream^ stream, Uri^ uri, Encoding^ encoding ) abstract
Parameters
- stream (Stream)
- The document stream to read from.
- uri (Uri)
- The document URI, used only for weighting words found in the document.
- encoding (Encoding)
- The document encoding if applicable/available.
Return Value
The DocumentText for the document.