System::String::Equals μέθοδος
περιεχόμενα
[
κρύβω
]String::Equals(const String&) const method
String equality comparison. Uses System::StringComparison::Ordinal comparison mode.
bool System::String::Equals(const String &str) const
| Parameter | Type | Περιγραφή |
|---|---|---|
| str | const String& | String για σύγκριση με την τρέχουσα. |
ReturnValue
αληθές εάν οι συμβολοσειρές ταιριάζουν, ψευδές διαφορετικά.
Δείτε επίσης
- Class String
- Class String
- Namespace System
- Library Aspose.Page for C++
String::Equals(const String&, System::StringComparison) const method
String equality comparison. Several modes provided by StringComparison enumeration are supported.
bool System::String::Equals(const String &str, System::StringComparison comparison_type) const
| Parameter | Type | Περιγραφή |
|---|---|---|
| str | const String& | String για σύγκριση με την τρέχουσα. |
| comparison_type | System::StringComparison | Comparison λειτουργία (δείτε το System::StringComparison για λεπτομέρειες). |
ReturnValue
αληθές εάν οι συμβολοσειρές ταιριάζουν χρησιμοποιώντας τον επιλεγμένο τύπο σύγκρισης, ψευδές διαφορετικά.
Δείτε επίσης
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Page for C++
String::Equals(const String&, const String&) method
Equal-συγκρίνει δύο συμβολοσειρές χρησιμοποιώντας τη λειτουργία σύγκρισης Ordial.
static bool System::String::Equals(const String &strA, const String &strB)
| Parameter | Type | Περιγραφή |
|---|---|---|
| strA | const String& | Πρώτη συμβολοσειρά για σύγκριση. |
| strB | const String& | Δεύτερη συμβολοσειρά για σύγκριση. |
ReturnValue
αληθές εάν οι συμβολοσειρές ταιριάζουν, ψευδές διαφορετικά.
Δείτε επίσης
- Class String
- Class String
- Namespace System
- Library Aspose.Page for C++
String::Equals(const String&, const String&, System::StringComparison) method
Equal-συγκρίνει δύο συμβολοσειρές.
static bool System::String::Equals(const String &strA, const String &strB, System::StringComparison comparison_type)
| Parameter | Type | Περιγραφή |
|---|---|---|
| strA | const String& | Πρώτη συμβολοσειρά για σύγκριση. |
| strB | const String& | Δεύτερη συμβολοσειρά για σύγκριση. |
| comparison_type | System::StringComparison | Λειτουργία Comparison. |
ReturnValue
αληθές εάν οι συμβολοσειρές ταιριάζουν, ψευδές διαφορετικά.
Δείτε επίσης
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Page for C++