共用方式為


IEditorOperations.TransposeWord Method

Transposes the current word with the next one.

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

Syntax

'宣告
Function TransposeWord As Boolean
bool TransposeWord()
bool TransposeWord()
abstract TransposeWord : unit -> bool 
function TransposeWord() : boolean

Return Value

Type: System.Boolean
true if the edit succeeded, otherwise false.

Remarks

White space and punctuation are not treated as words.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace