次の方法で共有


LanguageService.AddCodeWindowManager(CodeWindowManager) Method

Definition

Adds a code window manager to the language service.

public:
 void AddCodeWindowManager(Microsoft::VisualStudio::Package::CodeWindowManager ^ m);
void AddCodeWindowManager(Microsoft::VisualStudio::Package::CodeWindowManager const & m);
public void AddCodeWindowManager (Microsoft.VisualStudio.Package.CodeWindowManager m);
member this.AddCodeWindowManager : Microsoft.VisualStudio.Package.CodeWindowManager -> unit
Public Sub AddCodeWindowManager (m As CodeWindowManager)

Parameters

m
CodeWindowManager

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

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 Microsoft.VisualStudio.Package.CodeWindowManager.AddAdornments.

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

Applies to