IVsTextViewIntellisenseHost.GetContextCaretPos(Int32, Int32) Méthode

Définition

public:
 int GetContextCaretPos([Runtime::InteropServices::Out] int % piLine, [Runtime::InteropServices::Out] int % piIndex);
int GetContextCaretPos([Runtime::InteropServices::Out] int & piLine, [Runtime::InteropServices::Out] int & piIndex);
public int GetContextCaretPos (out int piLine, out int piIndex);
abstract member GetContextCaretPos : int * int -> int
Public Function GetContextCaretPos (ByRef piLine As Integer, ByRef piIndex As Integer) As Integer

Paramètres

piLine
Int32
piIndex
Int32

Retours

Int32

Si la méthode réussit, elle retourne NativeMethods.S_OK. En cas d'échec, retourne un code d'erreur.

Implémente

Remarques

À partir de singlefileeditor. idl :

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

S’applique à