EditorControl 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 API 不符合 CLS。
处理编辑器窗口。
public ref class EditorControl : Microsoft::VisualStudio::Package::SimpleEditorView
[Windows::Foundation::Metadata::WebHostHidden]
class EditorControl : Microsoft::VisualStudio::Package::SimpleEditorView
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public class EditorControl : Microsoft.VisualStudio.Package.SimpleEditorView
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type EditorControl = class
inherit SimpleEditorView
Public Class EditorControl
Inherits SimpleEditorView
- 继承
- 属性
构造函数
| EditorControl(IServiceProvider, IVsTextLines, Control) |
EditorControl使用提供的缓冲区和控件以及主服务提供程序初始化的新实例。 |
属性
| Buffer |
获取或设置文本缓冲区。 (继承自 SimpleEditorView) |
| ComponentId |
获取或设置编辑器视图的组件 ID。 (继承自 SimpleEditorView) |
| ComponentManager |
获取或设置此视图的组件管理器。 (继承自 SimpleEditorView) |
| Control |
获取或设置表示编辑器窗口的控件。 |
| MenuCommandService | (继承自 SimpleEditorView) |
| Site |
获取或设置 IServiceProvider 此视图的。 (继承自 SimpleEditorView) |