EdmFunctions.TrimStart(DbExpression) 方法

定義

建立 DbFunctionExpression 一個,呼叫指定參數的典型「LTrim」函式,且必須有字串結果型別。 表達式的結果類型也是字串。

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

一個表示式,指定應移除前導空格的字串。

傳回

一個新的 DbFunctionExpression,會回傳 的 stringArgument 值,且移除前導空格。

例外狀況

stringArgumentnull

stringArgument 無效。

適用於