Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets all the regions that intersect the given collection of spans, 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 ( _
spans As NormalizedSnapshotSpanCollection _
) As IEnumerable(Of ICollapsible)
IEnumerable<ICollapsible> GetAllRegions(
NormalizedSnapshotSpanCollection spans
)
IEnumerable<ICollapsible^>^ GetAllRegions(
NormalizedSnapshotSpanCollection^ spans
)
abstract GetAllRegions :
spans:NormalizedSnapshotSpanCollection -> IEnumerable<ICollapsible>
function GetAllRegions(
spans : NormalizedSnapshotSpanCollection
) : IEnumerable<ICollapsible>
Parameters
spans
Type: Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollectionThe collection of spans.
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.