Поделиться через


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 - пространство имен