다음을 통해 공유


IVsLanguageInfo.GetColorizer 메서드

Colorizer를 반환합니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
Function GetColorizer ( _
    pBuffer As IVsTextLines, _
    <OutAttribute> ByRef ppColorizer As IVsColorizer _
) As Integer
int GetColorizer(
    IVsTextLines pBuffer,
    out IVsColorizer ppColorizer
)
int GetColorizer(
    [InAttribute] IVsTextLines^ pBuffer, 
    [OutAttribute] IVsColorizer^% ppColorizer
)
abstract GetColorizer : 
        pBuffer:IVsTextLines * 
        ppColorizer:IVsColorizer byref -> int
function GetColorizer(
    pBuffer : IVsTextLines, 
    ppColorizer : IVsColorizer
) : int

매개 변수

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsLanguageInfo::GetColorizer(
   [in] IVsTextLines *pBuffer, 
   [out] IVsColorizer **ppColorizer
);

이 메서드는 언어 정보 개체 자체를 또는 새 개체에 인터페이스를 반환할 수 있습니다. Colorizer 언어에 대 한 상태 정보를 파일 별로 해야 하는 경우 메서드가 인터페이스에 새 개체를 예를 들어, 반환 합니다.

Colorizer 구문 색상 표시에 사용 되 고 빠른 식별 토큰 줄에 사용할 수 있습니다.

.NET Framework 보안

참고 항목

참조

IVsLanguageInfo 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스