IEditorOperations.DeleteFullLine Method
If there is a selection, deletes all the lines touched by the selection, including line break characters. Otherwise, deletes the line the caret is on, including the line break characters.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Function DeleteFullLine As Boolean
bool DeleteFullLine()
bool DeleteFullLine()
abstract DeleteFullLine : unit -> bool
function DeleteFullLine() : boolean
Return Value
Type: Boolean
true if the edit succeeded, otherwise false.
.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.