TextSnapshotToTextReader Constructor (ITextSnapshot^)

 

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

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

public:
TextSnapshotToTextReader(
	ITextSnapshot^ textSnapshot
)

Parameters

textSnapshot
Type: Microsoft.VisualStudio.Text::ITextSnapshot^

The ITextSnapshot to expose as a reader.

Exception Condition
ArgumentNullException

textSnapshot is null.

Return to top
Show: