다음을 통해 공유


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

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace