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


Gleichheitsvergleichsoperator.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| str | const String\& | [String](../) zum Vergleich mit dem aktuellen. |

### ReturnValue

true, wenn beide Strings null sind oder beide nicht null und übereinstimmen, andernfalls false.

## Siehe auch

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


Prüft, ob der String null ist. Verwendet dieselbe Logik wie der Aufruf von [IsNull()](../isnull/).

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


### ReturnValue

true, wenn die Zeichenkette null ist, sonst false.

## Siehe auch

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