Partager via


IEditorOperations.DeleteToBeginningOfLine Method

Deletes the line the caret is on, up to the previous line break character and the selection, if present.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Déclaration
Function DeleteToBeginningOfLine As Boolean
bool DeleteToBeginningOfLine()
bool DeleteToBeginningOfLine()
abstract DeleteToBeginningOfLine : unit -> bool 
function DeleteToBeginningOfLine() : boolean

Return Value

Type: System.Boolean
true if the edit succeeded, otherwise false.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace