OpenTypeMethods.EndsWith(Object, Object) 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.
Détermine si la fin d'une chaîne correspond à une autre chaîne.
public:
static System::Object ^ EndsWith(System::Object ^ targetString, System::Object ^ substring);
public static object EndsWith (object targetString, object substring);
static member EndsWith : obj * obj -> obj
Public Shared Function EndsWith (targetString As Object, substring As Object) As Object
Paramètres
- targetString
- Object
Chaîne qui est comparée.
- substring
- Object
Chaîne de comparaison.
Retours
true
si targetString
se termine par substring
; sinon, false
.
Remarques
Une erreur est générée lorsque les paramètres ne sont pas des chaînes.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour