VsSyntheticTextLayerClass 类

定义

处理添加和与合成文本会话的通信。

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.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("42469677-FCFF-11D2-AFC4-00105A9991EF")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsSyntheticTextLayerClass = class
    interface IVsSyntheticTextSession
    interface VsSyntheticTextLayer
Public Class VsSyntheticTextLayerClass
Implements VsSyntheticTextLayer
继承
VsSyntheticTextLayerClass
属性
实现

注解

不能使用关键字创建此类的实例 new 。 相反,您必须获取 ILocalRegistry 对象并创建具有的对象 CreateInstance 。 MPF 将此方法包装在 CreateInstance 中。

构造函数

VsSyntheticTextLayerClass()

创建该类的一个新实例。

方法

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

添加合成文本会话。

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

返回合成区域的静态快照列表。

Terminate()

告知会话 (服务器的链接,并将其 COM 引用) 放置到客户端。

UnadviseClient()

告知会话将其链接链接到客户端,并将其 COM 引用放置到客户端。

适用于