## Char::ToUpper(char_t) method


将指定字符转换为大写。

```cpp
static char_t System::Char::ToUpper(char_t c)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| c | char_t | 要转换的字符 |

### ReturnValue

如果指定字符是小写字母，则返回该字符的大写形式；否则返回原始指定字符。

## 另见

* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Char::ToUpper(char_t, const SharedPtr\<Globalization::CultureInfo\>\&) method


将指定字符转换为大写。

```cpp
static char_t System::Char::ToUpper(char_t c, const SharedPtr<Globalization::CultureInfo> &culture)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| c | char_t | 要转换的字符 |
| 区域性 | const SharedPtr\<Globalization::CultureInfo\>\& | 提供特定文化大小写规则的对象。 |

### ReturnValue

如果指定字符是小写字母，则返回该字符的大写形式；否则返回原始指定字符。

## 另见

* Typedef [SharedPtr](../../sharedptr/)
* Class [CultureInfo](../../../system.globalization/cultureinfo/)
* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
