Expand Minimize

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)

bool DeleteToBeginningOfLine()

Return Value

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft