EdmFunctions.TrimStart(DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 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 值,且移除前導空格。
例外狀況
stringArgument 是 null。
stringArgument 無效。