طريقة System::String::operator==

String::operator==(const String&) const method

عامل مقارنة المساواة.

bool System::String::operator==(const String &str) const
معاملنوعالوصف
strconst String&String لمقارنة الحالية به.

ReturnValue

صحيح إذا كانت السلسلتان كلاهما null أو كلاهما غير null ومتطابقتان، خطأ خلاف ذلك.

انظر أيضًا

String::operator==(std::nullptr_t) const method

يتحقق مما إذا كانت السلسلة null. يطبق نفس المنطق كما في استدعاء IsNull().

bool System::String::operator==(std::nullptr_t) const

ReturnValue

صحيح إذا كانت السلسلة null، خطأ خلاف ذلك.

انظر أيضًا