다음을 통해 공유


IVsEditorAdaptersFactoryService.GetViewAdapter 메서드

가져오기는 IVsTextView 어댑터 (있을 경우)이 텍스트 보기.

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

구문

‘선언
Function GetViewAdapter ( _
    textView As ITextView _
) As IVsTextView
IVsTextView GetViewAdapter(
    ITextView textView
)
IVsTextView^ GetViewAdapter(
    ITextView^ textView
)
abstract GetViewAdapter : 
        textView:ITextView -> IVsTextView
function GetViewAdapter(
    textView : ITextView
) : IVsTextView

매개 변수

반환 값

형식: IVsTextView
텍스트 뷰 어댑터 또는 nullNull 참조(Visual Basic의 경우 Nothing) 어댑터가 있는 경우.

예외

예외 조건
ArgumentNullException

textView이 null입니다.

설명

일반적으로 어댑터에 대 한 문서 창만 빌드됩니다.

.NET Framework 보안

참고 항목

참조

IVsEditorAdaptersFactoryService 인터페이스

Microsoft.VisualStudio.Editor 네임스페이스