EdmFunctions.TrimStart(DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DbFunctionExpression that invokes the canonical 'LTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string.
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
Parameters
- stringArgument
- DbExpression
An expression that specifies the string from which leading space should be removed.
Returns
A new DbFunctionExpression that returns value of stringArgument
with leading space removed.
Exceptions
stringArgument
is null
.
stringArgument
is invalid.