次の方法で共有


LanguageService.RemoveCodeWindowManager Method

Called when the view associated with the specified CodeWindowManager is closed.

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 RemoveCodeWindowManager ( _
    m As CodeWindowManager _
)
public void RemoveCodeWindowManager(
    CodeWindowManager m
)

Parameters

Remarks

This method can be used to undo any handling in AddCodeWindowManager that is specific to your language service. However, in order to clean up from your implementation of AddCodeWindowManager, you must derive a class from the LanguageService class and implement RemoveCodeWindowManager. Be sure to call the base version of this method after you have completed your own clean up.

The base method removes the specified CodeWindowManager object from an internal list of code window manager objects. This method is typically called from CodeWindowManager.RemoveAdornments that is in turn called when the associated text view is closed.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace