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
声明
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
- span
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The span.
- match
Type: System.Predicate<ICollapsed>
The predicate to match.
Return Value
Type: System.Collections.Generic.IEnumerable<ICollapsible>
The newly-expanded regions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.