共用方式為


IVsContainedLanguage.GetColorizer 方法

傳回 colorizer 物件,該語言。

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

語法

'宣告
Function GetColorizer ( _
    <OutAttribute> ByRef ppColorizer As IVsColorizer _
) As Integer
int GetColorizer(
    out IVsColorizer ppColorizer
)
int GetColorizer(
    [OutAttribute] IVsColorizer^% ppColorizer
)
abstract GetColorizer : 
        ppColorizer:IVsColorizer byref -> int
function GetColorizer(
    ppColorizer : IVsColorizer
) : int

參數

傳回值

類型:Int32
如果成功的話,會傳回S_OK。 否則,會傳回錯誤碼。

備註

COM 簽章

從 singlefileeditor.idl:

HRESULT GetColorizer(
   [out, retval] IVsColorizer **ppColorizer
);

.NET Framework 安全性

請參閱

參考

IVsContainedLanguage 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間