IEditorOperations.DeleteBlankLines Method

Deletes all empty lines or lines that contain only white space in the selection.

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

Syntax

'Declaration
Function DeleteBlankLines As Boolean
bool DeleteBlankLines()
bool DeleteBlankLines()
abstract DeleteBlankLines : unit -> bool
function DeleteBlankLines() : 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