IEditorOperations.CutFullLine Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If there is a selection present, deletes all 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.
public:
bool CutFullLine();
public:
bool CutFullLine();
bool CutFullLine();
public bool CutFullLine ();
abstract member CutFullLine : unit -> bool
Public Function CutFullLine () As Boolean
Returns
true
if the edit and the clipboard operation both succeeded, otherwise false
.
Exceptions
is thrown if there is not sufficient memory to complete the operation.