Reads text and returns list of words and title

C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Use Read method instead.", true)] public Object[] ReadText( Stream stream, Uri uri, Encoding encoding )
<ObsoleteAttribute("Use Read method instead.", True)> _ Public Function ReadText ( _ stream As Stream, _ uri As Uri, _ encoding As Encoding _ ) As Object()
[ObsoleteAttribute(L"Use Read method instead.", true)] public: array<Object^>^ ReadText( Stream^ stream, Uri^ uri, Encoding^ encoding )

- stream (Stream)
- Stream Object
- uri (Uri)
- Uri object
- encoding (Encoding)
- Encoding object


Eg.
A document contains 4 words;
"this", "is", "this", "example".
The document's title is;
"example"
The document's URL is;
http://localhost/example.html
If phrase matching is enabled, returns the following data:
CopyC#
If phrase matching is disabled, returns the following data:
CopyC#

wordsList[0] = "this", inUri=0, inTitle=0, inBody=1 wordsList[1] = "is", inUri=0, inTitle=0, inBody=1 wordsList[2] = "this", inUri=0, inTitle=0, inBody=1 wordsList[3] = "example", inUri=1, inTitle=1, inBody=1

wordsList[0] = "this", inUri=0, inTitle=0, inBody=2 wordsList[1] = "is", inUri=0, inTitle=0, inBody=1 wordsList[2] = "example", inUri=1, inTitle=1, inBody=1