다음을 통해 공유


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

'Declaration
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: 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