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 collapsed regions that intersect the given span.
Namespace: Microsoft.VisualStudio.Text.Outlining
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Function GetCollapsedRegions ( _
span As SnapshotSpan _
) As IEnumerable(Of ICollapsed)
IEnumerable<ICollapsed> GetCollapsedRegions(
SnapshotSpan span
)
IEnumerable<ICollapsed^>^ GetCollapsedRegions(
SnapshotSpan span
)
abstract GetCollapsedRegions :
span:SnapshotSpan -> IEnumerable<ICollapsed>
function GetCollapsedRegions(
span : SnapshotSpan
) : IEnumerable<ICollapsed>
Parameters
span
Type: Microsoft.VisualStudio.Text.SnapshotSpanThe span.
Return Value
Type: IEnumerable<ICollapsed>
A sorted sequence of collapsed 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.