共用方式為


IVsHiddenTextSessionEx2 Interface

Provides additional methods for the IVsHiddenTextSession and IVsHiddenTextSessionEx2 interfaces.

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

Syntax

'宣告
<GuidAttribute("A40043F7-0865-4322-9308-32133314AD6C")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsHiddenTextSessionEx2
[GuidAttribute("A40043F7-0865-4322-9308-32133314AD6C")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsHiddenTextSessionEx2
[GuidAttribute(L"A40043F7-0865-4322-9308-32133314AD6C")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsHiddenTextSessionEx2
[<GuidAttribute("A40043F7-0865-4322-9308-32133314AD6C")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsHiddenTextSessionEx2 =  interface end
public interface IVsHiddenTextSessionEx2

The IVsHiddenTextSessionEx2 type exposes the following members.

Methods

  Name Description
Public method EndBatch Tells the hidden text session to stop batching outlining changes.
Public method StartBatch Tells the hidden text session to start batching outlining changes.
Public method StartOutlining Tells the editor to start outlining.
Public method StopOutlining Tells the editor to stop outlining.

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace