다음을 통해 공유


CodeWindowManager.RemoveAdornments Method

Definition

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.

Applies to