IVsContainedLanguage.GetColorizer Method
Returns a colorizer object for the language.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
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
Parameters
- ppColorizer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsColorizer%
[out] Returns an IVsColorizer object representing the colorizer to use for the contained language.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT GetColorizer(
[out, retval] IVsColorizer **ppColorizer
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.