TextSnapshotToTextReader(ITextSnapshot) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TextSnapshotToTextReader with the specified text snapshot.
public:
TextSnapshotToTextReader(Microsoft::VisualStudio::Text::ITextSnapshot ^ textSnapshot);
public:
TextSnapshotToTextReader(Microsoft::VisualStudio::Text::ITextSnapshot ^ textSnapshot);
TextSnapshotToTextReader(Microsoft::VisualStudio::Text::ITextSnapshot const & textSnapshot);
public TextSnapshotToTextReader (Microsoft.VisualStudio.Text.ITextSnapshot textSnapshot);
new Microsoft.VisualStudio.Text.TextSnapshotToTextReader : Microsoft.VisualStudio.Text.ITextSnapshot -> Microsoft.VisualStudio.Text.TextSnapshotToTextReader
Public Sub New (textSnapshot As ITextSnapshot)
Parameters
- textSnapshot
- ITextSnapshot
The ITextSnapshot to expose as a reader.
Exceptions
textSnapshot
is null.