IOutliningManager.GetCollapsedRegions Method

Definition

Overloads

GetCollapsedRegions(SnapshotSpan, Boolean)

Gets all the collapsed regions that intersect the given span.

GetCollapsedRegions(NormalizedSnapshotSpanCollection, Boolean)

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

GetCollapsedRegions(NormalizedSnapshotSpanCollection)

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

GetCollapsedRegions(SnapshotSpan)

Gets all the collapsed regions that intersect the given span.

GetCollapsedRegions(SnapshotSpan, Boolean)

Gets all the collapsed regions that intersect the given span.

public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Outlining.ICollapsed> GetCollapsedRegions (Microsoft.VisualStudio.Text.SnapshotSpan span, bool exposedRegionsOnly);
Parameters
span
SnapshotSpan

The span.

exposedRegionsOnly
Boolean

true if this method should return only top-level regions (regions that aren't inside another collapsed region).

Returns

A sorted sequence of collapsed regions.

GetCollapsedRegions(NormalizedSnapshotSpanCollection, Boolean)

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

public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Outlining.ICollapsed> GetCollapsedRegions (Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection spans, bool exposedRegionsOnly);
Parameters
spans
NormalizedSnapshotSpanCollection

The collection of spans.

exposedRegionsOnly
Boolean

true if this method should return only top-level regions (regions that aren't inside another collapsed region).

Returns

A sorted sequence of collapsed regions.

GetCollapsedRegions(NormalizedSnapshotSpanCollection)

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

public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Outlining.ICollapsed> GetCollapsedRegions (Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection spans);
Parameters
spans
NormalizedSnapshotSpanCollection

The collection of spans.

Returns

A sorted sequence of collapsed regions.

GetCollapsedRegions(SnapshotSpan)

Gets all the collapsed regions that intersect the given span.

public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Outlining.ICollapsed> GetCollapsedRegions (Microsoft.VisualStudio.Text.SnapshotSpan span);
Parameters
span
SnapshotSpan

The span.

Returns

A sorted sequence of collapsed regions.

Applies to