IOutliningManager.CollapseAll Method

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: Predicate<ICollapsible>

The predicate to match.

Return Value

Type: IEnumerable<ICollapsed>
The newly-collapsed regions.

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