TextSnapshotToTextReader Class
Provides a TextReader facade over a text snapshot.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
System.MarshalByRefObject
System.IO.TextReader
Microsoft.VisualStudio.Text.TextSnapshotToTextReader
| Name | Description | |
|---|---|---|
![]() | TextSnapshotToTextReader(ITextSnapshot) | Initializes a new instance of TextSnapshotToTextReader with the specified text snapshot. |
| Name | Description | |
|---|---|---|
![]() | Close() | Closes the reader and releases associated resources.(Overrides TextReader.Close().) |
![]() | CreateObjRef(Type) | (Inherited from MarshalByRefObject.) |
![]() | Dispose() | (Inherited from TextReader.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | GetType() | (Inherited from Object.) |
![]() | InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | Peek() | Returns the next character without changing the state of the reader or the character source.(Overrides TextReader.Peek().) |
![]() | Read() | Reads the next character from the input stream and advances the character position by one character.(Overrides TextReader.Read().) |
![]() | Read(Char[], Int32, Int32) | Reads the specified number of characters from the current stream and writes the data to the buffer, beginning at the specified location.(Overrides TextReader.Read(Char[], Int32, Int32).) |
![]() | ReadAsync(Char[], Int32, Int32) | (Inherited from TextReader.) |
![]() | ReadBlock(Char[], Int32, Int32) | Reads a maximum of count characters from the current stream and writes the data to the buffer, beginning at index.(Overrides TextReader.ReadBlock(Char[], Int32, Int32).) |
![]() | ReadBlockAsync(Char[], Int32, Int32) | (Inherited from TextReader.) |
![]() | ReadLine() | Reads a line of characters from the current stream and returns the data as a string.(Overrides TextReader.ReadLine().) |
![]() | ReadLineAsync() | (Inherited from TextReader.) |
![]() | ReadToEnd() | Reads all the characters from the current position to the end of the reader and returns them as a string.(Overrides TextReader.ReadToEnd().) |
![]() | ReadToEndAsync() | (Inherited from TextReader.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
