IVsIntellisenseHost.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.
Sets the caret position relative to the context 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
[in] Length of the context buffer.
- iIndex
- Int32
[in] Indicates the caret position index.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
C++
From singlefileeditor.idl:
HRESULT IVsIntellisenseHost::SetContextCaretPos([in] long iLine, [in] long iIndex);