EdmFunctions.Right(DbExpression, DbExpression) 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.
Crée un DbFunctionExpression élément qui appelle la fonction canonique « Right » avec les arguments spécifiés, qui doivent avoir un type de résultat numérique de chaîne et d’entier. Le type de résultat de l’expression est chaîne.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ Right(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ length);
public static System.Data.Common.CommandTrees.DbFunctionExpression Right(this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression length);
static member Right : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Right (stringArgument As DbExpression, length As DbExpression) As DbFunctionExpression
Paramètres
- stringArgument
- DbExpression
Expression qui spécifie la chaîne à partir de laquelle extraire la sous-chaîne la plus à droite.
- length
- DbExpression
Expression qui spécifie la longueur de la sous-chaîne la plus à droite à extraire de stringArgument.
Retours
Nouvelle DbFunctionExpression qui retourne la sous-chaîne la plus à droite de la longueur length de stringArgument.
Exceptions
stringArgument ou length est null.
stringArgument n’est pas valide.