SimpleTagger<T>::GetTags Method (NormalizedSnapshotSpanCollection^)
Visual Studio 2015
Gets all the tags that overlap the spans in the specified snapshot of the desired type.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
public: virtual IEnumerable<ITagSpan<T>^>^ GetTags( NormalizedSnapshotSpanCollection^ spans ) sealed
Parameters
- spans
-
Type:
Microsoft.VisualStudio.Text::NormalizedSnapshotSpanCollection^
The spans to visit.
Return Value
Type: System.Collections.Generic::IEnumerable<ITagSpan<T>^>^A ITagSpan<T> for each tag.
Show: