IVsThreadSafeTextView::ThreadSafeSetCaretPos Method (Int32, Int32)
Visual Studio 2015
Sends coordinates to.SetCaretPos.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iLine
-
Type:
System::Int32
[in] Line containing the caret position.
- iColumn
-
Type:
System::Int32
[in] Column identifying the caret position. Viewcol coordinates may include virtual space.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsThreadSafeTextView::ThreadSafeSetCaretPos(
[in] long iLine,
[in] ViewCol iColumn
);
Show: