共用方式為


IVsCodeWindowManager.RemoveAdornments 方法

將裝飾,如下拉式橫條圖中,從程式碼] 視窗中移除。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

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

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsCodeWindowManager::RemoveAdornments();

當呼叫這個方法時,就是它需要的程式碼] 視窗消失之前,從程式碼] 視窗中移除其裝飾被誘導程式碼視窗管理員。

.NET Framework 安全性

請參閱

參考

IVsCodeWindowManager 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間