Condividi tramite


EditorControl Constructor

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Sub New ( _
    site As IServiceProvider, _
    buffer As IVsTextLines, _
    ctrl As Control _
)
public EditorControl(
    IServiceProvider site,
    IVsTextLines buffer,
    Control ctrl
)
public:
EditorControl(
    IServiceProvider^ site, 
    IVsTextLines^ buffer, 
    Control^ ctrl
)
new : 
        site:IServiceProvider * 
        buffer:IVsTextLines * 
        ctrl:Control -> EditorControl
public function EditorControl(
    site : IServiceProvider, 
    buffer : IVsTextLines, 
    ctrl : Control
)

Parameters

  • ctrl
    Type: Control

    The associated Control.

.NET Framework Security

See Also

Reference

EditorControl Class

Microsoft.VisualStudio.Package Namespace