EditorControl(IServiceProvider, IVsTextLines, Control) 构造函数

定义

EditorControl使用提供的缓冲区和控件以及主服务提供程序初始化的新实例。

public:
 EditorControl(IServiceProvider ^ site, Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ buffer, System::Windows::Forms::Control ^ ctrl);
public EditorControl (IServiceProvider site, Microsoft.VisualStudio.TextManager.Interop.IVsTextLines buffer, System.Windows.Forms.Control ctrl);
new Microsoft.VisualStudio.Package.EditorControl : IServiceProvider * Microsoft.VisualStudio.TextManager.Interop.IVsTextLines * System.Windows.Forms.Control -> Microsoft.VisualStudio.Package.EditorControl
Public Sub New (site As IServiceProvider, buffer As IVsTextLines, ctrl As Control)

参数

buffer
IVsTextLines

IVsTextLines缓冲区。

ctrl
Control

关联的 Control

适用于