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
- span
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The SnapshotSpan to use.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.