System::Char::Parse 方法

Char::Parse method

将指定字符串的唯一字符转换为 char_t 值。

static char_t System::Char::Parse(const String &value)
参数类型描述
const String&待转换的字符串。

ReturnValue

如果指定字符串恰好为 1 个字符,则返回该字符串的第一个且唯一的字符。

另见