Char.IsBetween(Char, Char, Char) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique si un caractère se trouve dans la plage inclusive spécifiée.
public:
static bool IsBetween(char c, char minInclusive, char maxInclusive);
public static bool IsBetween(char c, char minInclusive, char maxInclusive);
static member IsBetween : char * char * char -> bool
Public Shared Function IsBetween (c As Char, minInclusive As Char, maxInclusive As Char) As Boolean
Paramètres
- c
- Char
Caractère à évaluer.
- minInclusive
- Char
Limite inférieure, inclusive.
- maxInclusive
- Char
Limite supérieure, inclusive.
Retours
true si c elle se trouve dans la plage spécifiée ; sinon, false.
Remarques
La méthode ne valide pas qu’elle maxInclusive est supérieure ou égale à minInclusive. Si maxInclusive elle minInclusiveest inférieure à , le comportement n’est pas défini.