System::String::Equals metodo

String::Equals(const String&) const method

String equality comparison. Uses System::StringComparison::Ordinal comparison mode.

bool System::String::Equals(const String &str) const
ParametroTipoDescrizione
strconst String&String per confrontare con quella corrente.

ReturnValue

vero se le stringhe corrispondono, falso altrimenti.

Vedi anche

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
ParametroTipoDescrizione
strconst String&String per confrontare con quella corrente.
comparison_typeSystem::StringComparisonComparison modalità (vedi System::StringComparison per i dettagli).

ReturnValue

true se le stringhe corrispondono usando il tipo di confronto selezionato, false altrimenti.

Vedi anche

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)
ParametroTipoDescrizione
strAconst String&Prima stringa da confrontare.
strBconst String&Seconda stringa da confrontare.

ReturnValue

vero se le stringhe corrispondono, falso altrimenti.

Vedi anche

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)
ParametroTipoDescrizione
strAconst String&Prima stringa da confrontare.
strBconst String&Seconda stringa da confrontare.
comparison_typeSystem::StringComparisonModalità Comparison.

ReturnValue

vero se le stringhe corrispondono, falso altrimenti.

Vedi anche