TextSnapshotToTextReader(ITextSnapshot) 构造函数

定义

TextSnapshotToTextReader使用指定的文本快照初始化的新实例。

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)

参数

textSnapshot
ITextSnapshot

ITextSnapshot要作为读取器公开的。

例外

textSnapshot 为 null。

适用于