Create()

StringComparer::Create(const System::SharedPtr<System::Globalization::CultureInfo>&, bool) method

Creates culture-specific comparer.

static StringComparerPtr System::StringComparer::Create(const System::SharedPtr<System::Globalization::CultureInfo> &culture, bool ignoreCase)

Arguments

ParameterTypeDescription
cultureconst System::SharedPtr<System::Globalization::CultureInfo>&Culture to create comparer for.
ignoreCaseboolWhether the comparer should ignore case.

Return Value

Pointer to newly created comparer object.

See Also