System::String::Equals metodo
Contenuti
[
Nascondere
]String::Equals(const String&) const method
String equality comparison. Uses System::StringComparison::Ordinal comparison mode.
bool System::String::Equals(const String &str) const
| Parametro | Tipo | Descrizione |
|---|---|---|
| str | const String& | String per confrontare con quella corrente. |
ReturnValue
vero se le stringhe corrispondono, falso altrimenti.
Vedi anche
- Class String
- Class String
- Namespace System
- Library Aspose.Font 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
| Parametro | Tipo | Descrizione |
|---|---|---|
| str | const String& | String per confrontare con quella corrente. |
| comparison_type | System::StringComparison | Comparison modalità (vedi System::StringComparison per i dettagli). |
ReturnValue
true se le stringhe corrispondono usando il tipo di confronto selezionato, false altrimenti.
Vedi anche
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Font for C++
String::Equals(const String&, const String&) method
Equal confronta due stringhe usando la modalità di confronto Ordial.
static bool System::String::Equals(const String &strA, const String &strB)
| Parametro | Tipo | Descrizione |
|---|---|---|
| strA | const String& | Prima stringa da confrontare. |
| strB | const String& | Seconda stringa da confrontare. |
ReturnValue
vero se le stringhe corrispondono, falso altrimenti.
Vedi anche
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++
String::Equals(const String&, const String&, System::StringComparison) method
Equal confronta due stringhe.
static bool System::String::Equals(const String &strA, const String &strB, System::StringComparison comparison_type)
| Parametro | Tipo | Descrizione |
|---|---|---|
| strA | const String& | Prima stringa da confrontare. |
| strB | const String& | Seconda stringa da confrontare. |
| comparison_type | System::StringComparison | Modalità Comparison. |
ReturnValue
vero se le stringhe corrispondono, falso altrimenti.
Vedi anche
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Font for C++