다음을 통해 공유


CodeWindowManager.RemoveAdornments Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

‘선언
Public Overridable Function RemoveAdornments As Integer
‘사용 방법
Dim instance As CodeWindowManager
Dim returnValue As Integer

returnValue = instance.RemoveAdornments()
public virtual int RemoveAdornments()
public:
virtual int RemoveAdornments()
abstract RemoveAdornments : unit -> int 
override RemoveAdornments : unit -> int 
public function RemoveAdornments() : int

Return Value

Type: System.Int32
If successful, this method returns S_OK; otherwise, this method returns an error code.

Implements

IVsCodeWindowManager.RemoveAdornments()

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 LanguageService.OnCloseSource, and finally calls RemoveCodeWindowManager to remove the association with the language service.

.NET Framework Security

See Also

Reference

CodeWindowManager Class

CodeWindowManager Members

Microsoft.VisualStudio.Package Namespace