SimpleTagger<T>.GetTaggedSpans Method

Gets the tagged spans that intersect the given SnapshotSpan.

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

Syntax

声明
Public Function GetTaggedSpans ( _
    span As SnapshotSpan _
) As IEnumerable(Of TrackingTagSpan(Of T))
public IEnumerable<TrackingTagSpan<T>> GetTaggedSpans(
    SnapshotSpan span
)
public:
IEnumerable<TrackingTagSpan<T>^>^ GetTaggedSpans(
    SnapshotSpan span
)
member GetTaggedSpans : 
        span:SnapshotSpan -> IEnumerable<TrackingTagSpan<'T>> 
public function GetTaggedSpans(
    span : SnapshotSpan
) : IEnumerable<TrackingTagSpan<T>>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<TrackingTagSpan<T>>
The set of TrackingTagSpan<T> objects that intersect the given span, in order.

.NET Framework Security

See Also

Reference

SimpleTagger<T> Class

Microsoft.VisualStudio.Text.Tagging Namespace