We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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)

public interface IVsSyntheticTextSession

The IVsSyntheticTextSession type exposes the following members.

Public methodAddSyntheticRegionsAdds synthetic text sessions.
Public methodEnumSyntheticRegionsReturns a static snapshot list of synthetic regions.
Public methodTerminateImmediately kills the synthetic text session.
Public methodUnadviseClientTells the session to sever its link, and drop its COM reference, to the client.