다음을 통해 공유


IVsTextView.GetSelectionMode 메서드

현재 선택 모드를 반환합니다.

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

구문

‘선언
Function GetSelectionMode As TextSelMode
TextSelMode GetSelectionMode()
TextSelMode GetSelectionMode()
abstract GetSelectionMode : unit -> TextSelMode
function GetSelectionMode() : TextSelMode

반환 값

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

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsTextView::GetSelectionMode();

스트림 또는 상자 선택 영역 현재 선택 모드 인지 여부를 확인 하려면이 메서드를 사용 합니다. 자세한 내용은 TextSelMode를 참조하십시오.

.NET Framework 보안

참고 항목

참조

IVsTextView 인터페이스

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