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

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

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

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

ReturnValue

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

انظر أيضًا

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

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

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

ReturnValue

true إذا كان السلسلة null، false خلاف ذلك.

انظر أيضًا