CodeWindowManager.RemoveAdornments Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Remove drop down combos, view filters, and notify the LanguageService that the Source and CodeWindowManager is now closed
public:
virtual int RemoveAdornments();
public:
virtual int RemoveAdornments();
virtual int RemoveAdornments();
public virtual int RemoveAdornments ();
abstract member RemoveAdornments : unit -> int
override this.RemoveAdornments : unit -> int
Public Overridable Function RemoveAdornments () As Integer
Returns
If successful, this method returns S_OK; otherwise, this method returns an error code.
Implements
Remarks
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 Microsoft.VisualStudio.Package.LanguageService.OnCloseSource, and finally calls RemoveCodeWindowManager to remove the association with the language service.