SimpleTagger<T>::GetTags Method (NormalizedSnapshotSpanCollection^)

 

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)

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.

Return to top
Show: