Partager via


IOutliningManager.ExpandAll(SnapshotSpan, Predicate<ICollapsed>) Method

Definition

Expands all the regions that match the specified predicate.

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Text::Outlining::ICollapsible ^> ^ ExpandAll(Microsoft::VisualStudio::Text::SnapshotSpan span, Predicate<Microsoft::VisualStudio::Text::Outlining::ICollapsed ^> ^ match);
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Outlining.ICollapsible> ExpandAll (Microsoft.VisualStudio.Text.SnapshotSpan span, Predicate<Microsoft.VisualStudio.Text.Outlining.ICollapsed> match);
abstract member ExpandAll : Microsoft.VisualStudio.Text.SnapshotSpan * Predicate<Microsoft.VisualStudio.Text.Outlining.ICollapsed> -> seq<Microsoft.VisualStudio.Text.Outlining.ICollapsible>
Public Function ExpandAll (span As SnapshotSpan, match As Predicate(Of ICollapsed)) As IEnumerable(Of ICollapsible)

Parameters

span
SnapshotSpan

The regions that intersect this span.

match
Predicate<ICollapsed>

The predicate to match.

Returns

The newly-expanded regions.

Applies to