IOutliningManager.GetCollapsedRegions Method (SnapshotSpan)

Gets all the collapsed regions that intersect the given span.

Namespace:  Microsoft.VisualStudio.Text.Outlining
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

IEnumerable<ICollapsed> GetCollapsedRegions(
	SnapshotSpan span
)

Parameters

span
Type: Microsoft.VisualStudio.Text.SnapshotSpan

The span.

Return Value

Type: IEnumerable<ICollapsed>
A sorted sequence of collapsed regions.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft