共用方式為


IEditorOperations.DeleteWordToRight Method

Deletes the word to the right of the current caret position.

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

Syntax

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