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


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

```cpp
bool System::String::operator==(const String &str) const
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| str | const String\& | [String](../) لمقارنة الحالية به. |

### ReturnValue

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

## انظر أيضًا

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## String::operator==(std::nullptr_t) const method


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

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


### ReturnValue

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

## انظر أيضًا

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
