Partilhar via


IEditorOperations.CutFullLine Method

If there is a selection, deletes all the lines touched by the selection, including line break characters, and copies the text to the clipboard. Otherwise, deletes the line the caret is on, including the line break characters, and copies the text to the clipboard.

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

Syntax

'Declaração
Function CutFullLine As Boolean
bool CutFullLine()
bool CutFullLine()
abstract CutFullLine : unit -> bool 
function CutFullLine() : boolean

Return Value

Type: System.Boolean
true if the edit and the clipboard operation both succeeded, otherwise false.

Exceptions

Exception Condition
InsufficientMemoryException

There is not sufficient memory to complete the operation.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace