VsTextViewClass::PositionCaretForEditing Method (Int32, Int32)
Visual Studio 2015
Puts the caret in a position suitable for editing a function.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iLine
-
Type:
System::Int32
[in] Integer containing the line to position the caret (cursor) on.
- cIndentLevels
-
Type:
System::Int32
[in] Count of indent levels.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: