다음을 통해 공유


IVsTextViewIntellisenseHost.SetSubjectCaretPos 메서드

제목 텍스트에 대 한 캐럿/선택 관리 합니다. IHF_NOSEPARATESUBJECT 플래그가 설정 되어 있으면 모든 E_NOTIMPL을 반환 합니다.

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

구문

‘선언
Function SetSubjectCaretPos ( _
    iIndex As Integer _
) As Integer
int SetSubjectCaretPos(
    int iIndex
)
int SetSubjectCaretPos(
    [InAttribute] int iIndex
)
abstract SetSubjectCaretPos : 
        iIndex:int -> int
function SetSubjectCaretPos(
    iIndex : int
) : int

매개 변수

  • iIndex
    형식: Int32

     

반환 값

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

설명

Singlefileeditor.idl에서:

HRESULT IVsTextViewIntellisenseHost::SetSubjectCaretPos([in] long iIndex);

.NET Framework 보안

참고 항목

참조

IVsTextViewIntellisenseHost 인터페이스

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