IOutliningManager::CollapseAll Method (SnapshotSpan, Predicate<ICollapsible^>^)

 

Collapses all the regions in the specified span that match the specified predicate.

Namespace:   Microsoft.VisualStudio.Text.Outlining
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.

Return to top
Show: