IVsIntellisenseHost.GetContextCaretPos(Int32, Int32) Yöntem

Tanım

Bağlam arabelleğine göre giriş işareti konumunu alır.

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

Parametreler

piLine
Int32

dışı Bağlam arabelleğinin uzunluğu.

piIndex
Int32

dışı Giriş işareti konum dizinini gösterir.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

C++

Singlefileeditor. IDL öğesinden:

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

Şunlara uygulanır