IVsTextViewIntellisenseHost.GetContextCaretPos(Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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);