EdmFunctions.Trim(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione canonica "Trim" con l'argomento specificato, che deve avere una stringa come tipo di risultato. Il risultato dell'espressione è anche di tipo stringa.

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

Parametri

stringArgument
DbExpression

Espressione che specifica la stringa da cui rimuovere lo spazio iniziale e finale.

Restituisce

Nuovo DbFunctionExpression che restituisce il valore di stringArgument con spazio iniziale e finale rimosso.

Eccezioni

stringArgument è null.

stringArgument non è valido.

Si applica a