System::StringComparer::Create 方法

StringComparer::Create method

创建特定文化的比较器。

static StringComparerPtr System::StringComparer::Create(const System::SharedPtr<System::Globalization::CultureInfo> &culture, bool ignoreCase)
参数类型描述
文化const System::SharedPtr<System::Globalization::CultureInfo>&用于创建比较器的区域设置。
ignoreCasebool比较器是否应忽略大小写。

ReturnValue

指向新创建的比较器对象的指针。

另见