다음을 통해 공유


SimpleTagger<T>.GetTaggedSpans(SnapshotSpan) 메서드

정의

지정된 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);
[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))

매개 변수

span
SnapshotSpan

사용할 SnapshotSpan입니다.

반환

지정된 범위를 순서대로 교차하는 개체 집합 TrackingTagSpan<T> 입니다.

특성

적용 대상