Partager via


SimpleTagger<T>.GetTaggedSpans(SnapshotSpan) Méthode

Définition

Obtient les étendues avec balises qui croisent le SnapshotSpan concerné.

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);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Text.Tagging.SimpleTagger<>+<GetTaggedSpans>d__12))]
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>>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Text.Tagging.SimpleTagger<>+<GetTaggedSpans>d__12))>]
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))
Public Iterator Function GetTaggedSpans (span As SnapshotSpan) As IEnumerable(Of TrackingTagSpan(Of T))

Paramètres

span
SnapshotSpan

SnapshotSpan à utiliser.

Retours

Jeu d'objets TrackingTagSpan<T> qui croisent l'étendue concernée, dans l'ordre.

Attributs

S’applique à