Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initialise une nouvelle instance d'EditorControl avec la mémoire tampon et le contrôle fourni et le fournisseur de services principal.
Espace de noms : Microsoft.VisualStudio.Package
Assemblys : Microsoft.VisualStudio.Package.LanguageService.9.0 (dans Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (dans Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (dans Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (dans Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntaxe
'Déclaration
Public Sub New ( _
site As IServiceProvider, _
buffer As IVsTextLines, _
ctrl As Control _
)
public EditorControl(
IServiceProvider site,
IVsTextLines buffer,
Control ctrl
)
Paramètres
- site
Type : System.IServiceProvider
IServiceProvider principal.
- buffer
Type : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
La mémoire tampon d'IVsTextLines.
- ctrl
Type : System.Windows.Forms.Control
Control associé.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.