共用方式為


IVsSyntheticTextSession Interface

Handles the addition of regions and communication with synthetic text sessions.

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

Syntax

'宣告
<GuidAttribute("0C71E351-5141-4B6F-B838-E212F0764875")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSyntheticTextSession
[GuidAttribute("0C71E351-5141-4B6F-B838-E212F0764875")]
[InterfaceTypeAttribute()]
public interface IVsSyntheticTextSession
[GuidAttribute(L"0C71E351-5141-4B6F-B838-E212F0764875")]
[InterfaceTypeAttribute()]
public interface class IVsSyntheticTextSession
[<GuidAttribute("0C71E351-5141-4B6F-B838-E212F0764875")>]
[<InterfaceTypeAttribute()>]
type IVsSyntheticTextSession =  interface end
public interface IVsSyntheticTextSession

The IVsSyntheticTextSession type exposes the following members.

Methods

  Name Description
Public method AddSyntheticRegions Adds synthetic text sessions.
Public method EnumSyntheticRegions Returns a static snapshot list of synthetic regions.
Public method Terminate Immediately kills the synthetic text session.
Public method UnadviseClient Tells the session to sever its link, and drop its COM reference, to the client.

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace