ClassificationSpan Constructor (SnapshotSpan, IClassificationType^)
Visual Studio 2015
Initializes a new instance of a ClassificationSpan.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Parameters
- span
-
Type:
Microsoft.VisualStudio.Text::SnapshotSpan
The span of text to which the classification applies.
- classification
-
Type:
Microsoft.VisualStudio.Text.Classification::IClassificationType^
The classification type of the span.
| Exception | Condition |
|---|---|
| ArgumentNullException | classification is null. |
Show: