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
Function RemoveAdornments As Integer
Dim instance As IVsCodeWindowManager
Dim returnValue As Integer
returnValue = instance.RemoveAdornments()
int RemoveAdornments()
int RemoveAdornments()
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.