다음을 통해 공유


IEditorOperations.CutSelection Method

Cuts the selected text.

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

Syntax

'Declaration
Function CutSelection As Boolean
bool CutSelection()
bool CutSelection()
abstract CutSelection : unit -> bool
function CutSelection() : boolean

Return Value

Type: 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