IProjectionSnapshot::GetSourceSpans Method ()

 

Gets all the source spans for the projection snapshot.

Namespace:   Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

ReadOnlyCollection<SnapshotSpan>^ GetSourceSpans()

Return Value

Type: System.Collections.ObjectModel::ReadOnlyCollection<SnapshotSpan>^

A read-only collection of source spans of the projection snapshot, listed in the order they have in the projection snapshot.

The collection may be empty.

Return to top
Show: