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 命名空间