Character.IsUpperCase Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IsUpperCase(Char) |
Determines if the specified character is an uppercase character. |
IsUpperCase(Int32) |
Determines if the specified character (Unicode code point) is an uppercase character. |
IsUpperCase(Char)
Determines if the specified character is an uppercase character.
[Android.Runtime.Register("isUpperCase", "(C)Z", "")]
public static bool IsUpperCase (char ch);
[<Android.Runtime.Register("isUpperCase", "(C)Z", "")>]
static member IsUpperCase : char -> bool
Parameters
- ch
- Char
the character to be tested.
Returns
true
if the character is uppercase;
false
otherwise.
- Attributes
Remarks
Determines if the specified character is an uppercase character.
A character is uppercase if its general category type, provided by Character.getType(ch)
, is UPPERCASE_LETTER
. or it has contributory property Other_Uppercase as defined by the Unicode Standard.
The following are examples of uppercase characters: <blockquote>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
'\u00C0' '\u00C1' '\u00C2' '\u00C3' '\u00C4' '\u00C5' '\u00C6' '\u00C7'
'\u00C8' '\u00C9' '\u00CA' '\u00CB' '\u00CC' '\u00CD' '\u00CE' '\u00CF'
'\u00D0' '\u00D1' '\u00D2' '\u00D3' '\u00D4' '\u00D5' '\u00D6' '\u00D8'
'\u00D9' '\u00DA' '\u00DB' '\u00DC' '\u00DD' '\u00DE'
</blockquote>
Many other Unicode characters are uppercase too.
<b>Note:</b> This method cannot handle supplementary characters. To support all Unicode characters, including supplementary characters, use the #isUpperCase(int)
method.
Added in 1.0.
Java documentation for java.lang.Character.isUpperCase(char)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
IsUpperCase(Int32)
Determines if the specified character (Unicode code point) is an uppercase character.
[Android.Runtime.Register("isUpperCase", "(I)Z", "")]
public static bool IsUpperCase (int codePoint);
[<Android.Runtime.Register("isUpperCase", "(I)Z", "")>]
static member IsUpperCase : int -> bool
Parameters
- codePoint
- Int32
the character (Unicode code point) to be tested.
Returns
true
if the character is uppercase;
false
otherwise.
- Attributes
Remarks
Determines if the specified character (Unicode code point) is an uppercase character.
A character is uppercase if its general category type, provided by Character#getType(int) getType(codePoint)
, is UPPERCASE_LETTER
, or it has contributory property Other_Uppercase as defined by the Unicode Standard.
The following are examples of uppercase characters: <blockquote>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
'\u00C0' '\u00C1' '\u00C2' '\u00C3' '\u00C4' '\u00C5' '\u00C6' '\u00C7'
'\u00C8' '\u00C9' '\u00CA' '\u00CB' '\u00CC' '\u00CD' '\u00CE' '\u00CF'
'\u00D0' '\u00D1' '\u00D2' '\u00D3' '\u00D4' '\u00D5' '\u00D6' '\u00D8'
'\u00D9' '\u00DA' '\u00DB' '\u00DC' '\u00DD' '\u00DE'
</blockquote>
Many other Unicode characters are uppercase too.
Added in 1.5.
Java documentation for java.lang.Character.isUpperCase(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.