共用方式為


IVsSyntheticTextSession Interface

Definition

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

public interface class IVsSyntheticTextSession
public interface class IVsSyntheticTextSession
__interface IVsSyntheticTextSession
[System.Runtime.InteropServices.Guid("0C71E351-5141-4B6F-B838-E212F0764875")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSyntheticTextSession
[System.Runtime.InteropServices.Guid("0C71E351-5141-4B6F-B838-E212F0764875")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSyntheticTextSession
[<System.Runtime.InteropServices.Guid("0C71E351-5141-4B6F-B838-E212F0764875")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSyntheticTextSession = interface
[<System.Runtime.InteropServices.Guid("0C71E351-5141-4B6F-B838-E212F0764875")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSyntheticTextSession = interface
Public Interface IVsSyntheticTextSession
Derived
Attributes

Methods

AddSyntheticRegions(UInt32, Int32, NewSyntheticRegion[], IVsEnumSyntheticRegions[])

Adds synthetic text sessions.

EnumSyntheticRegions(UInt32, UInt32, TextSpan[], IVsEnumSyntheticRegions)

Returns a static snapshot list of synthetic regions.

Terminate()

Immediately kills the synthetic text session.

UnadviseClient()

Tells the session to sever its link, and drop its COM reference, to the client.

Applies to