EdmFunctions.TrimStart(DbExpression) 方法

定義

建立 DbFunctionExpression,其會利用指定的引數叫用標準 'LTrim' 函式,而該引數必須具有 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

參數

stringArgument
DbExpression

運算式,會指定要移除前置空格的字串。

傳回

傳回值 stringArgument 且已移除前置空格的新 DbFunctionExpression。

例外狀況

stringArgumentnull

stringArgument 無效。

適用於