IOutliningManager::GetAllRegions Method (NormalizedSnapshotSpanCollection^, Boolean)
Visual Studio 2015
Gets all the regions that intersect the given collection of spans, whether or not they are collapsed.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
IEnumerable<ICollapsible^>^ GetAllRegions(
NormalizedSnapshotSpanCollection^ spans,
bool exposedRegionsOnly
)
Parameters
- spans
-
Type:
Microsoft.VisualStudio.Text::NormalizedSnapshotSpanCollection^
The collection of spans.
- exposedRegionsOnly
-
Type:
System::Boolean
true if this method should return only top-level regions (regions that aren't inside another collapsed region).
Return Value
Type: System.Collections.Generic::IEnumerable<ICollapsible^>^A sorted sequence of all intersecting collapsible regions.
Show: