TextSnapshotToTextReader(ITextSnapshot) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz von TextSnapshotToTextReader mit der angegebenen Textmomentaufnahme.
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)
Parameter
- textSnapshot
- ITextSnapshot
Der ITextSnapshot, der als Reader verfügbar gemacht werden soll.
Ausnahmen
textSnapshot ist NULL.