IVsHiddenTextManager Interface
Determines whether a hidden text session exists for a given text buffer and creates one if it does not.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
<GuidAttribute("0E5B1E59-53A7-4636-ADBB-0B23C561E293")> _
<InterfaceTypeAttribute()> _
Public Interface IVsHiddenTextManager
用法
Dim instance As IVsHiddenTextManager
[GuidAttribute("0E5B1E59-53A7-4636-ADBB-0B23C561E293")]
[InterfaceTypeAttribute()]
public interface IVsHiddenTextManager
[GuidAttribute(L"0E5B1E59-53A7-4636-ADBB-0B23C561E293")]
[InterfaceTypeAttribute()]
public interface class IVsHiddenTextManager
[<GuidAttribute("0E5B1E59-53A7-4636-ADBB-0B23C561E293")>]
[<InterfaceTypeAttribute()>]
type IVsHiddenTextManager = interface end
public interface IVsHiddenTextManager
Remarks
The hidden text manager gives you access to IVsHiddenTextSession, which allows you to enumerate and add to existing hidden text regions, including outlining regions, and to expand and collapse those regions.
Notes to Callers
Call this interface to determine whether a hidden text session exists for a given buffer, and if not, to create a new hidden text session.
Call GetHiddenTextSession to determine whether a hidden text session already exists for a given text buffer. If a hidden text session does not exist, then you can create a new one by calling CreateHiddenTextSession. For this method, you can also specify a hidden text client that will inform you of changes to hidden text regions in the buffer. For more information, see IVsHiddenTextClient.