Char.IsUpper Yöntem
Tanım
Unicode karakterinin büyük harfle kategorilere ayrılmadığını gösterir.Indicates whether a Unicode character is categorized as an uppercase letter.
Aşırı Yüklemeler
| IsUpper(Char) |
Belirtilen Unicode karakterin büyük harfle kategorilere ayrılmadığını gösterir.Indicates whether the specified Unicode character is categorized as an uppercase letter. |
| IsUpper(String, Int32) |
Belirtilen dizedeki belirtilen konumdaki karakterin büyük harfle kategorilere ayrılmadığını gösterir.Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter. |
IsUpper(Char)
Belirtilen Unicode karakterin büyük harfle kategorilere ayrılmadığını gösterir.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
Parametreler
- c
- Char
Değerlendirilecek Unicode karakteri.The Unicode character to evaluate.
Döndürülenler
truecbüyük harfli bir harfse; Aksi takdirde, false .true if c is an uppercase letter; otherwise, false.
Açıklamalar
Geçerli büyük harfler, içinde aşağıdaki kategorinin üyeleridir UnicodeCategory : UppercaseLetter .Valid uppercase letters are members of the following category in UnicodeCategory: UppercaseLetter.
Ayrıca bkz.
Şunlara uygulanır
IsUpper(String, Int32)
Belirtilen dizedeki belirtilen konumdaki karakterin büyük harfle kategorilere ayrılmadığını gösterir.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
Parametreler
- s
- String
Bir dize.A string.
- index
- Int32
İçinde değerlendirilecek karakterin konumu s .The position of the character to evaluate in s.
Döndürülenler
true konumundaki karakter büyük harfle, index s Aksi durumda, false .true if the character at position index in s is an uppercase letter; otherwise, false.
Özel durumlar
s, null değeridir.s is null.
index sıfırdan küçük veya en son konumdan büyük s .index is less than zero or greater than the last position in s.
Açıklamalar
Bir dizedeki karakter konumları sıfırdan başlayarak dizine alınır.Character positions in a string are indexed starting from zero.
Geçerli büyük harfler, içinde aşağıdaki kategorinin üyeleridir UnicodeCategory : UppercaseLetter .Valid uppercase letters are members of the following category in UnicodeCategory: UppercaseLetter.