次の方法で共有


IVsTextViewIntellisenseHost.GetContextCaretPos(Int32, Int32) Method

Definition

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

Parameters

piLine
Int32

 

piIndex
Int32

 

Returns

If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.

Implements

Remarks

From singlefileeditor.idl:

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

Applies to