IClassifier.GetClassificationSpans(SnapshotSpan) IClassifier.GetClassificationSpans(SnapshotSpan) IClassifier.GetClassificationSpans(SnapshotSpan) IClassifier.GetClassificationSpans(SnapshotSpan) Method

Definition

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

public:
 System::Collections::Generic::IList<Microsoft::VisualStudio::Text::Classification::ClassificationSpan ^> ^ GetClassificationSpans(Microsoft::VisualStudio::Text::SnapshotSpan span);
public System.Collections.Generic.IList<Microsoft.VisualStudio.Text.Classification.ClassificationSpan> GetClassificationSpans (Microsoft.VisualStudio.Text.SnapshotSpan span);
abstract member GetClassificationSpans : Microsoft.VisualStudio.Text.SnapshotSpan -> System.Collections.Generic.IList<Microsoft.VisualStudio.Text.Classification.ClassificationSpan>
Public Function GetClassificationSpans (span As SnapshotSpan) As IList(Of ClassificationSpan)
Parameters
Returns

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

Applies to