Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets all the tags that overlap the spans in the specified snapshot of the desired type.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Function GetTags ( _
spans As NormalizedSnapshotSpanCollection _
) As IEnumerable(Of ITagSpan(Of T))
public IEnumerable<ITagSpan<T>> GetTags(
NormalizedSnapshotSpanCollection spans
)
public:
virtual IEnumerable<ITagSpan<T>^>^ GetTags(
NormalizedSnapshotSpanCollection^ spans
) sealed
abstract GetTags :
spans:NormalizedSnapshotSpanCollection -> IEnumerable<ITagSpan<'T>>
override GetTags :
spans:NormalizedSnapshotSpanCollection -> IEnumerable<ITagSpan<'T>>
public final function GetTags(
spans : NormalizedSnapshotSpanCollection
) : IEnumerable<ITagSpan<T>>
Parameters
spans
Type: Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollectionThe spans to visit.
Return Value
Type: IEnumerable<ITagSpan<T>>
A ITagSpan<T> for each tag.
Implements
ITagger<T>.GetTags(NormalizedSnapshotSpanCollection)
.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.