EdmFunctions.EndsWith(DbExpression, DbExpression) Méthode

Définition

Crée un DbFunctionExpression élément qui appelle la fonction « EndsWith » canonique avec les arguments spécifiés, qui doivent chacun avoir un type de résultat de chaîne. Le type de résultat de l’expression est booléen.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ EndsWith(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ suffix);
public static System.Data.Common.CommandTrees.DbFunctionExpression EndsWith(this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression suffix);
static member EndsWith : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function EndsWith (stringArgument As DbExpression, suffix As DbExpression) As DbFunctionExpression

Paramètres

stringArgument
DbExpression

Expression qui spécifie la chaîne recherchée à la fin de la chaîne suffix.

suffix
DbExpression

Expression qui spécifie la chaîne cible recherchée à la fin de stringArgument.

Retours

Nouvelle DbFunctionExpression qui retourne une valeur booléenne indiquant si elle se termine ou non stringArgument par suffix.

S’applique à