Creates a copy of this string in upper case with the specified CultureInfo inforamtion.
[Visual Basic] Overloads Public Function ToUpper( _ ByVal culture As CultureInfo _ ) As String [C#] public string ToUpper( CultureInfo culture ); [C++] public: String* ToUpper( CultureInfo* culture ); [JScript] public function ToUpper( culture : CultureInfo ) : String;
A new string in upper case.
Exception Type | Condition |
---|---|
ArgumentNullException | If the specified culture is not valid. |
The ToUpper method returns a string in lower case with the specified locale set by the information provided by CultureInfo.
String Class | String Members | System Namespace | String.ToUpper Overload List