CodeWindowManager::RemoveAdornments Method ()

 

Called to remove any adornments on a text view that is being closed.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int RemoveAdornments()

Return Value

Type: System::Int32

If successful, this method returns S_OK; otherwise, this method returns an error code.

The base method removes any drop-down bars that may have been added by AddAdornments, closes all view filters, closes the Source object and calls LanguageService::OnCloseSource, and finally calls RemoveCodeWindowManager to remove the association with the language service.

Return to top
Show: