BinaryOperationBinder.FallbackBinaryOperation 方法

定义

如果无法绑定目标动态对象,则执行二元动态运算的绑定。

重载

FallbackBinaryOperation(DynamicMetaObject, DynamicMetaObject)

如果无法绑定目标动态对象,则执行二元动态运算的绑定。

FallbackBinaryOperation(DynamicMetaObject, DynamicMetaObject, DynamicMetaObject)

在派生类中重写时,如果无法绑定目标动态对象,则执行二元动态运算的绑定。

FallbackBinaryOperation(DynamicMetaObject, DynamicMetaObject)

Source:
BinaryOperationBinder.cs
Source:
BinaryOperationBinder.cs
Source:
BinaryOperationBinder.cs

如果无法绑定目标动态对象,则执行二元动态运算的绑定。

public:
 System::Dynamic::DynamicMetaObject ^ FallbackBinaryOperation(System::Dynamic::DynamicMetaObject ^ target, System::Dynamic::DynamicMetaObject ^ arg);
public System.Dynamic.DynamicMetaObject FallbackBinaryOperation (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject arg);
member this.FallbackBinaryOperation : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public Function FallbackBinaryOperation (target As DynamicMetaObject, arg As DynamicMetaObject) As DynamicMetaObject

参数

target
DynamicMetaObject

动态二元运算的目标。

arg
DynamicMetaObject

动态二元运算的右操作数。

返回

表示绑定结果的 DynamicMetaObject

适用于

FallbackBinaryOperation(DynamicMetaObject, DynamicMetaObject, DynamicMetaObject)

Source:
BinaryOperationBinder.cs
Source:
BinaryOperationBinder.cs
Source:
BinaryOperationBinder.cs

在派生类中重写时,如果无法绑定目标动态对象,则执行二元动态运算的绑定。

public:
 abstract System::Dynamic::DynamicMetaObject ^ FallbackBinaryOperation(System::Dynamic::DynamicMetaObject ^ target, System::Dynamic::DynamicMetaObject ^ arg, System::Dynamic::DynamicMetaObject ^ errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackBinaryOperation (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject arg, System.Dynamic.DynamicMetaObject errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackBinaryOperation (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject arg, System.Dynamic.DynamicMetaObject? errorSuggestion);
abstract member FallbackBinaryOperation : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public MustOverride Function FallbackBinaryOperation (target As DynamicMetaObject, arg As DynamicMetaObject, errorSuggestion As DynamicMetaObject) As DynamicMetaObject

参数

target
DynamicMetaObject

动态二元运算的目标。

arg
DynamicMetaObject

动态二元运算的右操作数。

errorSuggestion
DynamicMetaObject

绑定失败时的绑定结果,或为 null。

返回

表示绑定结果的 DynamicMetaObject

适用于