共用方式為


IVsHiddenTextSession Interface

Used to add or enumerate hidden text sessions.

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

Syntax

'宣告
<GuidAttribute("82B21BAE-664B-43E1-95B1-0302805FF7D3")> _
<InterfaceTypeAttribute()> _
Public Interface IVsHiddenTextSession
[GuidAttribute("82B21BAE-664B-43E1-95B1-0302805FF7D3")]
[InterfaceTypeAttribute()]
public interface IVsHiddenTextSession
[GuidAttribute(L"82B21BAE-664B-43E1-95B1-0302805FF7D3")]
[InterfaceTypeAttribute()]
public interface class IVsHiddenTextSession
[<GuidAttribute("82B21BAE-664B-43E1-95B1-0302805FF7D3")>]
[<InterfaceTypeAttribute()>]
type IVsHiddenTextSession =  interface end
public interface IVsHiddenTextSession

The IVsHiddenTextSession type exposes the following members.

Methods

  Name Description
Public method AddHiddenRegions Adds a new hidden region to the text buffer.
Public method EnumHiddenRegions Returns a list of the current hidden regions.
Public method Terminate Ends the hidden text session.
Public method UnadviseClient Releases the IVsHiddenTextClient.

Top

Remarks

Notes to Callers

Call this interface to add or enumerate hidden text sessions.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace