다음을 통해 공유


IOutliningManager.GetCollapsedRegions Method (NormalizedSnapshotSpanCollection)

Gets all the collapsed regions that intersect the given collection of spans.

Namespace:  Microsoft.VisualStudio.Text.Outlining
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

‘선언
Function GetCollapsedRegions ( _
    spans As NormalizedSnapshotSpanCollection _
) As IEnumerable(Of ICollapsed)
IEnumerable<ICollapsed> GetCollapsedRegions(
    NormalizedSnapshotSpanCollection spans
)
IEnumerable<ICollapsed^>^ GetCollapsedRegions(
    NormalizedSnapshotSpanCollection^ spans
)
abstract GetCollapsedRegions : 
        spans:NormalizedSnapshotSpanCollection -> IEnumerable<ICollapsed> 
function GetCollapsedRegions(
    spans : NormalizedSnapshotSpanCollection
) : IEnumerable<ICollapsed>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ICollapsed>
A sorted sequence of collapsed regions.

.NET Framework Security

See Also

Reference

IOutliningManager Interface

GetCollapsedRegions Overload

Microsoft.VisualStudio.Text.Outlining Namespace