EdmFunctions.Trim(DbExpression) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria um DbFunctionExpression que invoca a função canónica 'Trim' com o argumento especificado, que deve ter um tipo de resultado de cadeia. O tipo de resultado da expressão também é string.
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
Parâmetros
- stringArgument
- DbExpression
Uma expressão que especifica a cadeia da qual o espaço inicial e final deve ser removido.
Devoluções
Uma nova DbFunctionExpression que devolve o valor de stringArgument com o espaço inicial e final removido.
Exceções
stringArgument é null.
stringArgument é inválido.