Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.SnapshotSpanThe 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.