共用方式為


IVsOutliningSession 介面

加入文字緩衝區中的一或多個大綱區域。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

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

IVsOutliningSession 類型會公開下列成員。

方法

  名稱 描述
公用方法 AddOutlineRegions 指定的範圍內的文字,會建立大綱的區域。

回頁首

備註

呼叫者注意事項

呼叫此介面,加入特定的分層顯示工作階段物件中的大綱區域。 使用這個介面加入的大綱區域僅能控制的編輯器。 若要新增為用戶端控制的大綱區域,請使用AddHiddenRegions。 如需詳細資訊,請參閱 如何: 提供展開大綱的支援

請參閱

參考

Microsoft.VisualStudio.TextManager.Interop 命名空間