IEditorOperations.MoveToStartOfDocument Method
Moves the caret to the start of the document.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Sub MoveToStartOfDocument ( _
extendSelection As Boolean _
)
void MoveToStartOfDocument(
bool extendSelection
)
void MoveToStartOfDocument(
bool extendSelection
)
abstract MoveToStartOfDocument :
extendSelection:bool -> unit
function MoveToStartOfDocument(
extendSelection : boolean
)
Parameters
extendSelection
Type: System.BooleanIf true, the selection is extended when the caret is moved; if false, the selection is not extended.
.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.