Determines whether the specified character is uppercase.
[Visual Basic] Public Shared Function IsUpper( _ ByVal c As Char _ ) As Boolean [C#] public static bool IsUpper( char c ); [C++] public: static bool IsUpper( __wchar_t c ); [JScript] public static function IsUpper( c : Char ) : Boolean;
true if the character is uppercase, otherwise false.
Exception Type | Condition |
---|---|
ArgumentException | if it cannot get the character type information. |
The IsUpper method compares the current character instance with IsUpper and returns a true or false indication whether the character that was checked is a uppercase. (See CharacterInfo.)