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
매개 변수
pBuffer
형식: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines[in] IVsTextLines 요청한 colorizer에 대 한 인터페이스입니다.
ppColorizer
형식: Microsoft.VisualStudio.TextManager.Interop.IVsColorizer%[out] 반환 된 IVsColorizer 개체입니다.
반환 값
형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.
설명
COM 시그니처
Textmgr.idl에서:
HRESULT IVsLanguageInfo::GetColorizer(
[in] IVsTextLines *pBuffer,
[out] IVsColorizer **ppColorizer
);
이 메서드는 언어 정보 개체 자체를 또는 새 개체에 인터페이스를 반환할 수 있습니다. Colorizer 언어에 대 한 상태 정보를 파일 별로 해야 하는 경우 메서드가 인터페이스에 새 개체를 예를 들어, 반환 합니다.
Colorizer 구문 색상 표시에 사용 되 고 빠른 식별 토큰 줄에 사용할 수 있습니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.