IOutliningManager.ExpandAll Method

Expands 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)

Syntax

'Declaration
Function ExpandAll ( _
    span As SnapshotSpan, _
    match As Predicate(Of ICollapsed) _
) As IEnumerable(Of ICollapsible)
IEnumerable<ICollapsible> ExpandAll(
    SnapshotSpan span,
    Predicate<ICollapsed> match
)
IEnumerable<ICollapsible^>^ ExpandAll(
    SnapshotSpan span, 
    Predicate<ICollapsed^>^ match
)
abstract ExpandAll : 
        span:SnapshotSpan * 
        match:Predicate<ICollapsed> -> IEnumerable<ICollapsible> 
function ExpandAll(
    span : SnapshotSpan, 
    match : Predicate<ICollapsed>
) : IEnumerable<ICollapsible>

Parameters

  • match
    Type: Predicate<ICollapsed>

    The predicate to match.

Return Value

Type: IEnumerable<ICollapsible>
The newly-expanded regions.

.NET Framework Security

See Also

Reference

IOutliningManager Interface

Microsoft.VisualStudio.Text.Outlining Namespace