IVsTextViewIntellisenseHost.SetContextCaretPos(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caret/selection setting relative to the context buffer. Any editing should be done via the buffer.
public:
int SetContextCaretPos(int iLine, int iIndex);
public:
int SetContextCaretPos(int iLine, int iIndex);
int SetContextCaretPos(int iLine, int iIndex);
public int SetContextCaretPos (int iLine, int iIndex);
abstract member SetContextCaretPos : int * int -> int
Public Function SetContextCaretPos (iLine As Integer, iIndex As Integer) As Integer
Parameters
- iLine
- Int32
- iIndex
- 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::SetContextCaretPos([in] long iLine, [in] long iIndex);