IVsCodeWindowManager.RemoveAdornments Method

Removes adornments, such as drop-down bars, from a code window.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function RemoveAdornments As Integer
int RemoveAdornments()
int RemoveAdornments()
abstract RemoveAdornments : unit -> int
function RemoveAdornments() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsCodeWindowManager::RemoveAdornments();

When this method is called, the code window manager is being told that it needs to remove its adornments from the code window before the code window goes away.

.NET Framework Security

See Also

Reference

IVsCodeWindowManager Interface

Microsoft.VisualStudio.TextManager.Interop Namespace