ITextSnapshot::GetText Method (Span)
Visual Studio 2015
Gets text from the snapshot starting at the beginning of the span and having a length equal to the length of the span.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- span
-
Type:
Microsoft.VisualStudio.Text::Span
The span to return.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The end of the span is greater than Length. |
Show: