EditorControl(IServiceProvider, IVsTextLines, Control) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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)
参数
- site
- IServiceProvider
Main IServiceProvider 。
- buffer
- IVsTextLines
IVsTextLines缓冲区。