閱讀英文

共用方式為


IVsTextMarker.SetVisualStyle 方法

設定標記類型的視覺的樣式。

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

語法

int SetVisualStyle(
    uint dwFlags
)

參數

  • dwFlags
    類型:UInt32

    [in]視覺化樣式旗標的 DWORD。 為一系列pdwFlags的值,請參閱MARKERVISUAL

傳回值

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

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsTextMarker::SetVisualStyle(
   [in] DWORD dwFlags
);

.NET Framework 安全性

請參閱

參考

IVsTextMarker 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間