Strings.UCase Method (Char)
Returns a string or character containing the specified string converted to uppercase.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Parameters
- Value
- Type: System.Char
Required. Any valid String or Char expression.
Return Value
Type: System.CharReturns a string or character containing the specified string converted to uppercase.
Only lowercase letters are converted to uppercase; all uppercase letters and nonletter characters remain unchanged.
This function uses the application's culture information when manipulating the string so that the case changes are appropriate for the locale in which the application is being used.
Security Note |
|---|
If your application makes security decisions based on the result of a comparison or case-change operation, then the operation should use the String.Compare method, and pass Ordinal or OrdinalIgnoreCase for the comparisonType argument. For more information, see How Culture Affects Strings in Visual Basic. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Security Note