次の方法で共有


IEditorOperations.Delete Method

Deletes the selection if there is one. If there is no selection, deletes the next character in the buffer if one exists.

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

Syntax

'宣言
Function Delete As Boolean
bool Delete()
bool Delete()
abstract Delete : unit -> bool 
function Delete() : 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