次の方法で共有


IOutliningManager.GetCollapsedRegions Method (SnapshotSpan)

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

'宣言
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

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