TextSnapshotToTextReader Class

 

Provides a TextReader facade over a text snapshot.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

System.Object
  System.MarshalByRefObject
    System.IO.TextReader
      Microsoft.VisualStudio.Text.TextSnapshotToTextReader

public sealed class TextSnapshotToTextReader : TextReader

NameDescription
System_CAPS_pubmethodTextSnapshotToTextReader(ITextSnapshot)

Initializes a new instance of TextSnapshotToTextReader with the specified text snapshot.

NameDescription
System_CAPS_pubmethodClose()

Closes the reader and releases associated resources.(Overrides TextReader.Close().)

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

(Inherited from TextReader.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodPeek()

Returns the next character without changing the state of the reader or the character source.(Overrides TextReader.Peek().)

System_CAPS_pubmethodRead()

Reads the next character from the input stream and advances the character position by one character.(Overrides TextReader.Read().)

System_CAPS_pubmethodRead(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).)

System_CAPS_pubmethodReadAsync(Char[], Int32, Int32)

(Inherited from TextReader.)

System_CAPS_pubmethodReadBlock(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).)

System_CAPS_pubmethodReadBlockAsync(Char[], Int32, Int32)

(Inherited from TextReader.)

System_CAPS_pubmethodReadLine()

Reads a line of characters from the current stream and returns the data as a string.(Overrides TextReader.ReadLine().)

System_CAPS_pubmethodReadLineAsync()

(Inherited from TextReader.)

System_CAPS_pubmethodReadToEnd()

Reads all the characters from the current position to the end of the reader and returns them as a string.(Overrides TextReader.ReadToEnd().)

System_CAPS_pubmethodReadToEndAsync()

(Inherited from TextReader.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: