共用方式為


DbBinaryExpression.Right 屬性

定義

得到或設定 DbExpression 定義正確論點的 。

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Right { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Right { get; }
member this.Right : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property Right As DbExpression

屬性值

DbExpression這才是正確的論點。

例外狀況

表達式為 null

該表達式與 的指令樹 DbBinaryExpression無關聯,

或其結果型別不等於或無法升變於正確參數所需的型別。

備註

當屬性被設定時,導出表達式類型可能會執行更嚴格的類型檢查 Right 。 例如,要求 DbUnionAllExpression 其右表達式具有集合結果型態,而 DbAndExpression 需要布林結果型態。 通常,導出表達式類型不允許 Right 設定為與當前值結果類型不相等或不可升調的表達式。

適用於