IEditorOperationsFactoryService 接口

一个提供 IEditorOperations 对象的服务。

命名空间:  Microsoft.VisualStudio.Text.Operations
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Public Interface IEditorOperationsFactoryService
public interface IEditorOperationsFactoryService
public interface class IEditorOperationsFactoryService
type IEditorOperationsFactoryService =  interface end
public interface IEditorOperationsFactoryService

IEditorOperationsFactoryService 类型公开以下成员。

方法

  名称 说明
公共方法 GetEditorOperations 获取指定 ITextViewIEditorOperations 对象。

页首

备注

这是 MEF 组件部件,应导入如下所示:

[Import] IEditorOperationsFactoryService factory = null;

请参阅

参考

Microsoft.VisualStudio.Text.Operations 命名空间