EdmFunctions.Trim(DbExpression) Méthode

Définition

Crée un DbFunctionExpression qui appelle la fonction « Trim » canonique avec l’argument spécifié, qui doit avoir un résultat de type chaîne. Le résultat de l’expression est également de type chaîne.

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

Paramètres

stringArgument
DbExpression

Expression qui spécifie la chaîne dans laquelle les espaces de début et de fin doivent être supprimés.

Retours

Nouvelle DbFunctionExpression qui retourne la valeur de avec l’espace stringArgument de début et de fin supprimé.

Exceptions

stringArgument a la valeur null.

stringArgument n'est pas valide.

S’applique à