Freigeben über


EditorControl(IServiceProvider, IVsTextLines, Control) Constructor

Definition

Initializes a new instance of EditorControl with the supplied buffer and control and the main service provider.

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)

Parameters

buffer
IVsTextLines

The IVsTextLines buffer.

ctrl
Control

The associated Control.

Applies to