System::Globalization::CompareInfo::GetCompareInfo method

CompareInfo::GetCompareInfo(const String&) method

Gets CompareInfo associated with the specified culture.

static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(const String &name)
ParameterTypeDescription
nameconst String&Culture name.

ReturnValue

CompareInfo object.

See Also

CompareInfo::GetCompareInfo(const String&, const SharedPtr<Reflection::Assembly>&) method

Gets CompareInfo associated with the specified culture and using string comparison methods in the specified assembly.

static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(const String &name, const SharedPtr<Reflection::Assembly> &assembly)
ParameterTypeDescription
nameconst String&Culture name.
assemblyconst SharedPtr<Reflection::Assembly>&Assembly that contains string comparison methods.

ReturnValue

CompareInfo object.

See Also

CompareInfo::GetCompareInfo(int) method

Gets CompareInfo associated with the specified culture.

static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(int culture)
ParameterTypeDescription
cultureintCulture identifier (LCID).

ReturnValue

CompareInfo object.

See Also

CompareInfo::GetCompareInfo(int, const SharedPtr<Reflection::Assembly>&) method

Gets CompareInfo associated with the specified culture and using string comparison methods in the specified assembly.

static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(int culture, const SharedPtr<Reflection::Assembly> &assembly)
ParameterTypeDescription
cultureintCulture identifier (LCID).
assemblyconst SharedPtr<Reflection::Assembly>&Assembly that contains string comparison methods.

ReturnValue

CompareInfo object.

See Also