Share via


LanguageService.AddCodeWindowManager Method

Adds a code window manager to the language service.

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

Syntax

'Declaration
Public Sub AddCodeWindowManager ( _
    m As CodeWindowManager _
)
public void AddCodeWindowManager(
    CodeWindowManager m
)
public:
void AddCodeWindowManager(
    CodeWindowManager^ m
)
member AddCodeWindowManager : 
        m:CodeWindowManager -> unit
public function AddCodeWindowManager(
    m : CodeWindowManager
)

Parameters

Remarks

The language service maintains an internal list of code window managers associated with the language service. This association is made when this method is called from CodeWindowManager.AddAdornments.

RemoveCodeWindowManager is called when CodeWindowManager.RemoveAdornments is called to disassociate the code window manager from the language service.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace