EdmFunctions.TrimStart(DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 DbFunctionExpression,其會利用指定的引數叫用標準 'LTrim' 函式,而該引數必須具有 String 結果類型。 運算式的結果類型也是字串。
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression TrimStart(this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument);
static member TrimStart : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function TrimStart (stringArgument As DbExpression) As DbFunctionExpression
參數
- stringArgument
- DbExpression
運算式,會指定要移除前置空格的字串。
傳回
新的 DbFunctionExpression,會傳回 stringArgument 的值,並會將前置空格移除。