Export (0) Print
Expand All

IClassifier.GetClassificationSpans Method

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)

function GetClassificationSpans(
	span : SnapshotSpan
) : IList<ClassificationSpan>

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.

Show:
© 2014 Microsoft