Compartir a través de


VsSyntheticTextLayerClass Class

Definition

Handles the addition of and communication with synthetic text sessions.

public ref class VsSyntheticTextLayerClass : Microsoft::VisualStudio::TextManager::Interop::VsSyntheticTextLayer
[Windows::Foundation::Metadata::WebHostHidden]
class VsSyntheticTextLayerClass : Microsoft::VisualStudio::TextManager::Interop::VsSyntheticTextLayer
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("42469677-FCFF-11D2-AFC4-00105A9991EF")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsSyntheticTextLayerClass : Microsoft.VisualStudio.TextManager.Interop.VsSyntheticTextLayer
[System.Runtime.InteropServices.Guid("42469677-FCFF-11D2-AFC4-00105A9991EF")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsSyntheticTextLayerClass : Microsoft.VisualStudio.TextManager.Interop.VsSyntheticTextLayer
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("42469677-FCFF-11D2-AFC4-00105A9991EF")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsSyntheticTextLayerClass = class
    interface IVsSyntheticTextSession
    interface VsSyntheticTextLayer
[<System.Runtime.InteropServices.Guid("42469677-FCFF-11D2-AFC4-00105A9991EF")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsSyntheticTextLayerClass = class
    interface VsSyntheticTextLayer
    interface IVsSyntheticTextSession
Public Class VsSyntheticTextLayerClass
Implements VsSyntheticTextLayer
Inheritance
VsSyntheticTextLayerClass
Attributes
Implements

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.

Constructors

VsSyntheticTextLayerClass()

Creates a new instance of the class.

Methods

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

Adds synthetic text sessions.

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

Returns a static snapshot list of synthetic regions.

Terminate()

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

UnadviseClient()

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

Applies to