Partager via


IEditorOperations.ToggleCase Method

Switches the case of each character in the selection. If the selection is empty, changes the case of the next character.

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

Syntax

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

Return Value

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

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace