VsSyntheticTextLayerClass Class
Handles the addition of and communication with synthetic text sessions.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TextManager.Interop.VsSyntheticTextLayerClass
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
<GuidAttribute("42469677-FCFF-11D2-AFC4-00105A9991EF")> _
<ClassInterfaceAttribute()> _
Public Class VsSyntheticTextLayerClass _
Implements IVsSyntheticTextSession, VsSyntheticTextLayer
[GuidAttribute("42469677-FCFF-11D2-AFC4-00105A9991EF")]
[ClassInterfaceAttribute()]
public class VsSyntheticTextLayerClass : IVsSyntheticTextSession,
VsSyntheticTextLayer
[GuidAttribute(L"42469677-FCFF-11D2-AFC4-00105A9991EF")]
[ClassInterfaceAttribute()]
public ref class VsSyntheticTextLayerClass : IVsSyntheticTextSession,
VsSyntheticTextLayer
[<GuidAttribute("42469677-FCFF-11D2-AFC4-00105A9991EF")>]
[<ClassInterfaceAttribute()>]
type VsSyntheticTextLayerClass =
class
interface IVsSyntheticTextSession
interface VsSyntheticTextLayer
end
public class VsSyntheticTextLayerClass implements IVsSyntheticTextSession, VsSyntheticTextLayer
The VsSyntheticTextLayerClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VsSyntheticTextLayerClass | Creates a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
AddSyntheticRegions | Adds synthetic text sessions. | |
EnumSyntheticRegions | Returns a static snapshot list of synthetic regions. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Terminate | Tells the session to sever its link (and drop its COM reference) to the client. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnadviseClient | Tells the session to sever its link, and drop its COM reference, to the client. |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.