EdmFunctions.TrimStart(DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje funkcję kanoniczną "LTrim" 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 ^ TrimStart(System::Data::Common::CommandTrees::DbExpression ^ stringArgument);
public static System.Data.Common.CommandTrees.DbFunctionExpression TrimStart (this System.Data.Common.CommandTrees.DbExpression stringArgument);
static member TrimStart : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function TrimStart (stringArgument As DbExpression) As DbFunctionExpression

Parametry

stringArgument
DbExpression

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

Zwraca

Nowa funkcja DbFunctionExpression zwracająca stringArgument wartość z usuniętym miejscem wiodącym.

Wyjątki

stringArgument to null.

Nazwa stringArgument jest niepoprawna.

Dotyczy