Partilhar via


Método IVsTextViewIntellisenseHost.GetContextCaretPos

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Sintaxe

'Declaração
Function GetContextCaretPos ( _
    <OutAttribute> ByRef piLine As Integer, _
    <OutAttribute> ByRef piIndex As Integer _
) As Integer
int GetContextCaretPos(
    out int piLine,
    out int piIndex
)
int GetContextCaretPos(
    [OutAttribute] int% piLine, 
    [OutAttribute] int% piIndex
)
abstract GetContextCaretPos : 
        piLine:int byref * 
        piIndex:int byref -> int
function GetContextCaretPos(
    piLine : int, 
    piIndex : int
) : int

Parâmetros

  • piLine
    Tipo: Int32%

     

  • piIndex
    Tipo: Int32%

     

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna NativeMethods.S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

De singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetContextCaretPos([out] long *piLine, [out] long *piIndex);

Segurança do .NET Framework

Consulte também

Referência

IVsTextViewIntellisenseHost Interface

Namespace Microsoft.VisualStudio.TextManager.Interop