共用方式為


IVsOutliningSession Interface

Definition

Adds one or more outline regions to a text buffer.

public interface class IVsOutliningSession
public interface class IVsOutliningSession
__interface IVsOutliningSession
[System.Runtime.InteropServices.Guid("9A436975-A86A-4459-A350-B05604B53309")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsOutliningSession
[System.Runtime.InteropServices.Guid("9A436975-A86A-4459-A350-B05604B53309")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsOutliningSession
[<System.Runtime.InteropServices.Guid("9A436975-A86A-4459-A350-B05604B53309")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsOutliningSession = interface
[<System.Runtime.InteropServices.Guid("9A436975-A86A-4459-A350-B05604B53309")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsOutliningSession = interface
Public Interface IVsOutliningSession
Attributes

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(UInt32, Int32, NewHiddenRegion[], IVsEnumHiddenRegions[]). For more information, see How to: Provide Expanded Outlining Support in a Legacy Language Service.

Methods

AddOutlineRegions(UInt32, Int32, NewOutlineRegion[])

Creates an outlining region over the specified span of text.

Applies to