IClassifier::GetClassificationSpans Method (SnapshotSpan)

 

Gets all the ClassificationSpan objects that overlap the given range of text.

Namespace:   Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

IList<ClassificationSpan^>^ GetClassificationSpans(
	SnapshotSpan span
)

Parameters

span
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The snapshot span.

Return Value

Type: System.Collections.Generic::IList<ClassificationSpan^>^

A list of ClassificationSpan objects that intersect with the given range.

Return to top
Show: