IEditorOperations.MoveToHome Method
Moves the caret to the first text column on the line.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Sub MoveToHome ( _
extendSelection As Boolean _
)
void MoveToHome(
bool extendSelection
)
void MoveToHome(
bool extendSelection
)
abstract MoveToHome :
extendSelection:bool -> unit
function MoveToHome(
extendSelection : boolean
)
Parameters
extendSelection
Type: System.BooleanIf true, the selection is extended when the caret is moved; if false, the selection is not extended.
Remarks
The result of this method is the same as the result of pressing the Home key. If the caret is already at the first text column, or if there is no text, this method moves the caret to the first column on the line.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.