IOutliningManager.GetAllRegions Method (SnapshotSpan)
Gets all the regions that intersect the given span, whether or not they are collapsed.
Namespace: Microsoft.VisualStudio.Text.Outlining
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Function GetAllRegions ( _
span As SnapshotSpan _
) As IEnumerable(Of ICollapsible)
IEnumerable<ICollapsible> GetAllRegions(
SnapshotSpan span
)
IEnumerable<ICollapsible^>^ GetAllRegions(
SnapshotSpan span
)
abstract GetAllRegions :
span:SnapshotSpan -> IEnumerable<ICollapsible>
function GetAllRegions(
span : SnapshotSpan
) : IEnumerable<ICollapsible>
Parameters
span
Type: Microsoft.VisualStudio.Text.SnapshotSpanThe span.
Return Value
Type: IEnumerable<ICollapsible>
A sorted sequence of all intersecting collapsible 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.