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

Syntax

‘선언
Public Sub AddCodeWindowManager ( _
    m As CodeWindowManager _
)
‘사용 방법
Dim instance As LanguageService
Dim m As CodeWindowManager

instance.AddCodeWindowManager(m)
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

LanguageService Members

Microsoft.VisualStudio.Package Namespace