EdmFunctions.TrimStart(DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression , který vyvolá kanonický "LTrim" funkce se zadaným argumentem, který musí mít typ výsledku řetězce. Typ výsledku výrazu je také řetězec.

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

Výraz, který určuje řetězec, ze kterého se má odebrat úvodní mezera.

Návraty

Nový DbFunctionExpression, který vrátí hodnotu stringArgument s úvodní mezerou odstraněna.

Výjimky

stringArgument je null.

stringArgument je neplatný.

Platí pro