Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function GetClassificationSpans ( _
span As SnapshotSpan _
) As IList(Of ClassificationSpan)
IList<ClassificationSpan> GetClassificationSpans(
SnapshotSpan span
)
IList<ClassificationSpan^>^ GetClassificationSpans(
SnapshotSpan span
)
abstract GetClassificationSpans :
span:SnapshotSpan -> IList<ClassificationSpan>
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.