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)
Syntax
声明
Function Capitalize As Boolean
bool Capitalize()
bool Capitalize()
abstract Capitalize : unit -> bool
function Capitalize() : boolean
Return Value
Type: System.Boolean
true if the edit succeeded, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.