ExpressionExtensions.RemoveConvert(Expression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Unwrap each convert manually by evaluating how they are used.
回傳一個新表達式,並移除該表達式樹的頭部中任何 see(see Convert )或 ConvertChecked 節點。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
public static System.Linq.Expressions.Expression RemoveConvert(this System.Linq.Expressions.Expression expression);
[System.Obsolete("Unwrap each convert manually by evaluating how they are used.")]
public static System.Linq.Expressions.Expression RemoveConvert(this System.Linq.Expressions.Expression expression);
static member RemoveConvert : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
[<System.Obsolete("Unwrap each convert manually by evaluating how they are used.")>]
static member RemoveConvert : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
<Extension()>
Public Function RemoveConvert (expression As Expression) As Expression
參數
- expression
- Expression
表達式。
傳回
一個帶有「轉化者」字樣的新表達被移除。
- 屬性