共用方式為


IVsCodeWindowManager.RemoveAdornments Method

Definition

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

public:
 int RemoveAdornments();
public:
 int RemoveAdornments();
int RemoveAdornments();
public int RemoveAdornments ();
abstract member RemoveAdornments : unit -> int
Public Function RemoveAdornments () As Integer

Returns

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.

Applies to