Char.IsUpper Metoda
Definice
Označuje, zda je znak Unicode zařazen do kategorie velkými písmeny.Indicates whether a Unicode character is categorized as an uppercase letter.
Přetížení
| IsUpper(Char) |
Označuje, zda je zadaný znak Unicode zařazen do kategorie velkými písmeny.Indicates whether the specified Unicode character is categorized as an uppercase letter. |
| IsUpper(String, Int32) |
Označuje, zda je znak na zadané pozici v zadaném řetězci zařazen jako velké písmeno.Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter. |
IsUpper(Char)
Označuje, zda je zadaný znak Unicode zařazen do kategorie velkými písmeny.Indicates whether the specified Unicode character is categorized as an uppercase letter.
public:
static bool IsUpper(char c);
public static bool IsUpper (char c);
static member IsUpper : char -> bool
Public Shared Function IsUpper (c As Char) As Boolean
Parametry
- c
- Char
Znak Unicode, který chcete vyhodnotit.The Unicode character to evaluate.
Návraty
true Pokud c je velké písmeno, v opačném případě false .true if c is an uppercase letter; otherwise, false.
Poznámky
Platná velká písmena jsou členem následující kategorie v UnicodeCategory : UppercaseLetter .Valid uppercase letters are members of the following category in UnicodeCategory: UppercaseLetter.
Viz také
Platí pro
IsUpper(String, Int32)
Označuje, zda je znak na zadané pozici v zadaném řetězci zařazen jako velké písmeno.Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.
public:
static bool IsUpper(System::String ^ s, int index);
public static bool IsUpper (string s, int index);
static member IsUpper : string * int -> bool
Public Shared Function IsUpper (s As String, index As Integer) As Boolean
Parametry
- s
- String
Řetězec.A string.
- index
- Int32
Pozice znaku, který má být vyhodnocen s .The position of the character to evaluate in s.
Návraty
true Pokud je znak na pozici index v umístění s velkými písmeny, jinak false .true if the character at position index in s is an uppercase letter; otherwise, false.
Výjimky
s je null.s is null.
index je menší než nula nebo větší než poslední pozice v s .index is less than zero or greater than the last position in s.
Poznámky
Pozice znaku v řetězci jsou indexovány od nuly.Character positions in a string are indexed starting from zero.
Platná velká písmena jsou členem následující kategorie v UnicodeCategory : UppercaseLetter .Valid uppercase letters are members of the following category in UnicodeCategory: UppercaseLetter.