System::Globalization::CompareInfo::IsSortable 方法

CompareInfo::IsSortable(char16_t) method

检查指定字符是否可排序。

static bool System::Globalization::CompareInfo::IsSortable(char16_t ch)
ParameterType描述
chchar16_tUnicode 字符。

ReturnValue

如果 ch 可排序则为 True;否则为 false。

另见

CompareInfo::IsSortable(const String&) method

检查指定字符串是否可排序。

static bool System::Globalization::CompareInfo::IsSortable(const String &text)
ParameterType描述
textconst String&一个字符串。

ReturnValue

如果 text 非空且 text 中的所有字符均可排序,则为 True;否则为 false。

另见