共用方式為


IEditorOperations.MakeUppercase Method

Converts lowercase letters to uppercase in the selection. If the selection is empty, makes the next character uppercase.

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

Syntax

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