GetCompareInfo()

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)

Arguments

ParameterTypeDescription
cultureintCulture identifier (LCID).
assemblyconst SharedPtr<Reflection::Assembly>&Assembly that contains string comparison methods.

Return Value

CompareInfo object.

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)

Arguments

ParameterTypeDescription
nameconst String&Culture name.
assemblyconst SharedPtr<Reflection::Assembly>&Assembly that contains string comparison methods.

Return Value

CompareInfo object.

CompareInfo::GetCompareInfo(int) method

Gets CompareInfo associated with the specified culture.

static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(int culture)

Arguments

ParameterTypeDescription
cultureintCulture identifier (LCID).

Return Value

CompareInfo object.

CompareInfo::GetCompareInfo(const String&) method

Gets CompareInfo associated with the specified culture.

static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(const String &name)

Arguments

ParameterTypeDescription
nameconst String&Culture name.

Return Value

CompareInfo object.

See Also