Compare()

StringComparer::Compare(args_type, args_type) const method

Compares two strings using current settings.

virtual int System::StringComparer::Compare(args_type x, args_type y) const override

Arguments

ParameterTypeDescription
xargs_typeLHS string value.
yargs_typeRHS string value.

Return Value

Negative value if x preceeds y, zero if they are equal and positive value otherwise.

See Also