ITextSnapshot::Write Method (TextWriter^, Span)
Visual Studio 2015
Writes a substring of the contents of the snapshot.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- writer
-
Type:
System.IO::TextWriter^
The TextWriter to use.
- span
-
Type:
Microsoft.VisualStudio.Text::Span
The span of text to write.
| Exception | Condition |
|---|---|
| ArgumentNullException | writer is null. |
| ArgumentOutOfRangeException | The end of the span is greater than the length of the snapshot. |
Show: