System::StringComparer::Compare طريقة

StringComparer::Compare method

يقارن سلسلتين باستخدام الإعدادات الحالية.

virtual int System::StringComparer::Compare(args_type x, args_type y) const override
ParameterTypeالوصف
xargs_typeقيمة السلسلة اليسرى.
yargs_typeقيمة السلسلة اليمنى.

ReturnValue

قيمة سلبية إذا كان x يسبق y، صفر إذا كانا متساويين وقيمة إيجابية غير ذلك.

انظر أيضًا