VsSyntheticTextLayerClass Class
Handles the addition of and communication with synthetic text sessions.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | VsSyntheticTextLayerClass() | Creates a new instance of the class. |
| Name | Description | |
|---|---|---|
![]() | AddSyntheticRegions(UInt32, Int32, NewSyntheticRegion[], IVsEnumSyntheticRegions[]) | Adds synthetic text sessions. |
![]() | EnumSyntheticRegions(UInt32, UInt32, TextSpan[], IVsEnumSyntheticRegions) | Returns a static snapshot list of synthetic regions. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Terminate() | Tells the session to sever its link (and drop its COM reference) to the client. |
![]() | ToString() | (Inherited from Object.) |
![]() | UnadviseClient() | Tells the session to sever its link, and drop its COM reference, to the client. |
You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

