SimpleTagger<T>.GetTaggedSpans(SnapshotSpan) Method

Definition

Gets the tagged spans that intersect the given SnapshotSpan.

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Text::Tagging::TrackingTagSpan<T> ^> ^ GetTaggedSpans(Microsoft::VisualStudio::Text::SnapshotSpan span);
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Tagging.TrackingTagSpan<T>> GetTaggedSpans (Microsoft.VisualStudio.Text.SnapshotSpan span);
member this.GetTaggedSpans : Microsoft.VisualStudio.Text.SnapshotSpan -> seq<Microsoft.VisualStudio.Text.Tagging.TrackingTagSpan<'T>>
Public Function GetTaggedSpans (span As SnapshotSpan) As IEnumerable(Of TrackingTagSpan(Of T))

Parameters

span
SnapshotSpan

The SnapshotSpan to use.

Returns

The set of TrackingTagSpan<T> objects that intersect the given span, in order.

Applies to