IVsThreadSafeTextView.ThreadSafeSetCaretPos(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.
Sends coordinates to.SetCaretPos(Int32, Int32).
public:
int ThreadSafeSetCaretPos(int iLine, int iColumn);
public:
int ThreadSafeSetCaretPos(int iLine, int iColumn);
int ThreadSafeSetCaretPos(int iLine, int iColumn);
public int ThreadSafeSetCaretPos (int iLine, int iColumn);
abstract member ThreadSafeSetCaretPos : int * int -> int
Public Function ThreadSafeSetCaretPos (iLine As Integer, iColumn As Integer) As Integer
Parameters
- iLine
- Int32
[in] Line containing the caret position.
- iColumn
- Int32
[in] Column identifying the caret position. Viewcol
coordinates may include virtual space.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsThreadSafeTextView::ThreadSafeSetCaretPos(
[in] long iLine,
[in] ViewCol iColumn
);