IEditorOperations::Capitalize Method ()

 

Converts all the characters in the selection to lowercase, then converts the first character in each word in the selection to uppercase. If the selection is empty, then it makes the next character uppercase.

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

bool Capitalize()

Return Value

Type: System::Boolean

true if the edit succeeded, otherwise false.

Return to top
Show: