다음을 통해 공유


IVsOutliningSession Interface

Adds one or more outline regions to a text buffer.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("9A436975-A86A-4459-A350-B05604B53309")> _
Public Interface IVsOutliningSession
[InterfaceTypeAttribute()]
[GuidAttribute("9A436975-A86A-4459-A350-B05604B53309")]
public interface IVsOutliningSession
[InterfaceTypeAttribute()]
[GuidAttribute(L"9A436975-A86A-4459-A350-B05604B53309")]
public interface class IVsOutliningSession
[<InterfaceTypeAttribute()>]
[<GuidAttribute("9A436975-A86A-4459-A350-B05604B53309")>]
type IVsOutliningSession =  interface end
public interface IVsOutliningSession

The IVsOutliningSession type exposes the following members.

Methods

  Name Description
Public method AddOutlineRegions Creates an outlining region over the specified span of text.

Top

Remarks

Notes to Callers

Call this interface to add an outline region to a particular outlining session object. Outline regions added using this interface can only be editor controlled. To add an outline region that is client-controlled, use AddHiddenRegions. For more information, see How to: Provide Expanded Outlining Support.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace