共用方式為


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

'宣告
Public Sub AddCodeWindowManager ( _
    m As CodeWindowManager _
)
public void AddCodeWindowManager(
    CodeWindowManager m
)

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