다음을 통해 공유


IVsLanguageInfo.GetCodeWindowManager 메서드

장식 코드 편집기에 추가 하는 언어를 사용할 수 있습니다.

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

구문

‘선언
Function GetCodeWindowManager ( _
    pCodeWin As IVsCodeWindow, _
    <OutAttribute> ByRef ppCodeWinMgr As IVsCodeWindowManager _
) As Integer
int GetCodeWindowManager(
    IVsCodeWindow pCodeWin,
    out IVsCodeWindowManager ppCodeWinMgr
)
int GetCodeWindowManager(
    [InAttribute] IVsCodeWindow^ pCodeWin, 
    [OutAttribute] IVsCodeWindowManager^% ppCodeWinMgr
)
abstract GetCodeWindowManager : 
        pCodeWin:IVsCodeWindow * 
        ppCodeWinMgr:IVsCodeWindowManager byref -> int
function GetCodeWindowManager(
    pCodeWin : IVsCodeWindow, 
    ppCodeWinMgr : IVsCodeWindowManager
) : int

매개 변수

반환 값

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

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsLanguageInfo::GetCodeWindowManager(
   [in] IVsCodeWindow *pCodeWin, 
   [out] IVsCodeWindowManager **ppCodeWinMgr
);

Visual Studio코드 창 관리자 표시 대로 구하는이 방법은 호출 하는 IVsCodeWindowManager 인터페이스와 언어 서비스 선택한 액세스 코드 창으로 드롭 다운 막대와 같은 수의 장식을 추가 합니다. 언어 패키지를 로드 한 후 호출 하는 두 번째 메서드에이 메서드는 (첫 번째 메서드는 SetSite 메서드는 언어 패키지를).

.NET Framework 보안

참고 항목

참조

IVsLanguageInfo 인터페이스

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