## Char::IsUpper(char_t) method


确定指定字符是否被分类为大写字母。

```cpp
static bool System::Char::IsUpper(char_t c)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| c | char_t | 要测试的字符 |

### ReturnValue

如果指定字符是大写字母，则为 True，否则为 false

## 另见

* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## Char::IsUpper(const char_t *, int) method


确定指定字符缓冲区中指定索引处的字符是否被分类为大写字母。

```cpp
static bool System::Char::IsUpper(const char_t *str, int idx)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| str | const char_t * | 指向字符缓冲区起始位置的指针 |
| idx | int | 指定缓冲区中要测试的字符的零基索引 |

### ReturnValue

如果指定索引处的字符是大写字母，则为 True，否则为 false

## 另见

* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## Char::IsUpper(const String\&, int) method


确定指定字符串中指定索引处的字符是否被分类为大写字母。

```cpp
static bool System::Char::IsUpper(const String &str, int idx)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| str | const String\& | 包含字符的字符串。 |
| idx | int | 指定字符串中要测试的字符的零基索引 |

### ReturnValue

如果指定索引处的字符是大写字母，则为 True，否则为 false

## 另见

* Class [String](../../string/)
* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
