Méthode System::Globalization::CompareInfo::IndexOf

CompareInfo::IndexOf(const String&, char16_t) const method

Recherche le caractère spécifié.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurchar16_tCaractère.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, char16_t, CompareOptions) const method

Recherche le caractère spécifié. Seul le mode Ordinal est pris en charge.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, CompareOptions options) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurchar16_tCaractère.
optionsCompareOptionsOptions de recherche.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, char16_t, int) const method

Recherche le caractère spécifié.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurchar16_tCaractère.
start_indexintIndice de départ de la recherche dans la chaîne source.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, char16_t, int, CompareOptions) const method

Recherche le caractère spécifié. Seul le mode Ordinal est pris en charge.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, CompareOptions options) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurchar16_tCaractère.
start_indexintIndice de départ de la recherche dans la chaîne source.
optionsCompareOptionsOptions de recherche.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, char16_t, int, int) const method

Recherche le caractère spécifié.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, int count) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurchar16_tCaractère.
start_indexintIndice de départ de la recherche dans la chaîne source.
countintNombre de caractères dans la chaîne source.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, char16_t, int, int, CompareOptions) const method

Recherche le caractère spécifié. Seul le mode Ordinal est pris en charge.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, int count, CompareOptions options) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurchar16_tCaractère.
start_indexintIndice de départ de la recherche dans la chaîne source.
countintNombre de caractères dans la chaîne source.
optionsCompareOptionsOptions de recherche.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, const String&) const method

Recherche une sous-chaîne.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurconst String&Valeur de recherche.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, const String&, CompareOptions) const method

Recherche une sous-chaîne. Seul le mode Ordinal est pris en charge.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, CompareOptions options) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurconst String&Valeur de recherche.
optionsCompareOptionsOptions de recherche.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, const String&, int) const method

Recherche une sous-chaîne.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurconst String&Valeur de recherche.
start_indexintIndice de départ de la recherche dans la chaîne source.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, const String&, int, CompareOptions) const method

Recherche une sous-chaîne. Seul le mode Ordinal est pris en charge.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, CompareOptions options) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurconst String&Valeur de recherche.
start_indexintIndice de départ de la recherche dans la chaîne source.
optionsCompareOptionsOptions de recherche.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, const String&, int, int) const method

Recherche une sous-chaîne.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, int count) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurconst String&Valeur de recherche.
start_indexintIndice de départ de la recherche dans la chaîne source.
countintNombre de caractères dans la chaîne source.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi

CompareInfo::IndexOf(const String&, const String&, int, int, CompareOptions) const method

Recherche une sous-chaîne. Seul le mode Ordinal est pris en charge.

virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, int count, CompareOptions options) const
ParamètreTypeDescription
sourceconst String&Chaîne source.
valeurconst String&Valeur de recherche.
start_indexintIndice de départ de la recherche dans la chaîne source.
countintNombre de caractères dans la chaîne source.
optionsCompareOptionsOptions de recherche.

ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvé.

Voir aussi