IOutliningManager::CollapseAll Method (SnapshotSpan, Predicate<ICollapsible^>^)
Visual Studio 2015
Collapses all the regions in the specified span that match the specified predicate.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
IEnumerable<ICollapsed^>^ CollapseAll( SnapshotSpan span, Predicate<ICollapsible^>^ match )
Parameters
- span
-
Type:
Microsoft.VisualStudio.Text::SnapshotSpan
The span.
- match
-
Type:
System::Predicate<ICollapsible^>^
The predicate to match.
Return Value
Type: System.Collections.Generic::IEnumerable<ICollapsed^>^The newly-collapsed regions.
Show: