TextSnapshotToTextReader Constructor (ITextSnapshot^)
Visual Studio 2015
Initializes a new instance of TextSnapshotToTextReader with the specified text snapshot.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- textSnapshot
-
Type:
Microsoft.VisualStudio.Text::ITextSnapshot^
The ITextSnapshot to expose as a reader.
| Exception | Condition |
|---|---|
| ArgumentNullException | textSnapshot is null. |
Show: