共用方式為


IVsCodeWindowManager.AddAdornments Method

Definition

Adds adornments, such as drop-down bars, to a code window.

public:
 int AddAdornments();
public:
 int AddAdornments();
int AddAdornments();
public int AddAdornments ();
abstract member AddAdornments : unit -> int
Public Function AddAdornments () 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::AddAdornments();  

The code window calls this method to provide the opportunity to add adornments such as drop-down bars or button bars to the code window.

Applies to