다음을 통해 공유


IVsTextViewIntellisenseHost.GetSubjectCaretPos 메서드

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

구문

‘선언
Function GetSubjectCaretPos ( _
    <OutAttribute> ByRef piIndex As Integer _
) As Integer
int GetSubjectCaretPos(
    out int piIndex
)
int GetSubjectCaretPos(
    [OutAttribute] int% piIndex
)
abstract GetSubjectCaretPos : 
        piIndex:int byref -> int
function GetSubjectCaretPos(
    piIndex : int
) : int

매개 변수

  • piIndex
    형식: Int32%

     

반환 값

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

설명

Singlefileeditor.idl에서:

RESULT IVsTextViewIntellisenseHost::GetSubjectCaretPos([out] long *piIndex);

.NET Framework 보안

참고 항목

참조

IVsTextViewIntellisenseHost 인터페이스

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