Export (0) Print
Expand All
Expand Minimize

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 (in Microsoft.VisualStudio.Package.LanguageService.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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

public void AddCodeWindowManager(
	CodeWindowManager m
)

Parameters

m
Type: Microsoft.VisualStudio.Package.CodeWindowManager

[in] An instance of the CodeWindowManager object to add.

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.

Show:
© 2014 Microsoft