EdmFunctions.TrimEnd(DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje funkcję kanoniczną "RTrim" z określonym argumentem, który musi mieć typ wyniku ciągu. Typ wyniku wyrażenia jest również ciągiem.

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

Parametry

stringArgument
DbExpression

Wyrażenie określające ciąg, z którego należy usunąć spację końcową.

Zwraca

Nowa funkcja DbFunctionExpression zwracająca stringArgument wartość z usuniętym spacją końcową.

Wyjątki

stringArgument to null.

Nazwa stringArgument jest niepoprawna.

Dotyczy