System::String::operator== μέθοδος
String::operator==(const String&) const method
Τελεστής σύγκρισης ισότητας.
bool System::String::operator==(const String &str) const
| Parameter | Type | Περιγραφή |
|---|---|---|
| str | const String& | String για σύγκριση με την τρέχουσα. |
ReturnValue
true εάν και οι δύο συμβολοσειρές είναι μηδενικές ή και οι δύο δεν είναι μηδενικές και ταιριάζουν, false διαφορετικά.
Δείτε επίσης
- Class String
- Class String
- Namespace System
- Library Aspose.Page for C++
String::operator==(std::nullptr_t) const method
Ελέγχει αν η συμβολοσειρά είναι μηδενική. Εφαρμόζει την ίδια λογική όπως η κλήση IsNull().
bool System::String::operator==(std::nullptr_t) const
ReturnValue
αληθές εάν η συμβολοσειρά είναι null, ψευδές διαφορετικά.
Δείτε επίσης
- Class String
- Namespace System
- Library Aspose.Page for C++