System::String::CompareOrdinal طريقة
محتويات
[
يخفي
]String::CompareOrdinal(const String&, const String&) method
Less-equal-greater-يقارن سلسلتين باستخدام وضع ترتيبي.
static int System::String::CompareOrdinal(const String &strA, const String &strB)
| معامل | نوع | الوصف |
|---|---|---|
| strA | const String& | السلسلة الأولى للمقارنة. |
| strB | const String& | السلسلة الثانية للمقارنة. |
ReturnValue
قيمة سالبة إذا كان الجزء الفرعي الأول أصغر من الثاني، صفر إذا كانا متطابقين، قيمة موجبة خلاف ذلك.
انظر أيضًا
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++
String::CompareOrdinal(const String&, int, const String&, int, int) method
Less-equal-greater-يقارن سلسلتين باستخدام وضع ترتيبي.
static int System::String::CompareOrdinal(const String &strA, int indexA, const String &strB, int indexB, int length)
| معامل | نوع | الوصف |
|---|---|---|
| strA | const String& | السلسلة الأولى للمقارنة. |
| indexA | int | بداية الجزء الفرعي الأول من السلسلة. |
| strB | const String& | السلسلة الثانية للمقارنة. |
| indexB | int | بداية الجزء الفرعي الثاني من السلسلة. |
| الطول | int | عدد الأحرف للمقارنة. |
ReturnValue
قيمة سالبة إذا كان الجزء الفرعي الأول أصغر من الثاني، صفر إذا كانا متطابقين، قيمة موجبة خلاف ذلك.
انظر أيضًا
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++