共用方式為


BinaryOperationBinder.FallbackBinaryOperation 方法

定義

如果目標動態物件無法繫結,則會執行二元動態運算的繫結。

多載

FallbackBinaryOperation(DynamicMetaObject, DynamicMetaObject)

如果目標動態物件無法繫結,則會執行二元動態運算的繫結。

FallbackBinaryOperation(DynamicMetaObject, DynamicMetaObject, DynamicMetaObject)

在衍生類別中覆寫時,如果目標動態物件無法繫結,則會執行二元動態運算的繫結。

FallbackBinaryOperation(DynamicMetaObject, DynamicMetaObject)

來源:
BinaryOperationBinder.cs
來源:
BinaryOperationBinder.cs
來源:
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)

來源:
BinaryOperationBinder.cs
來源:
BinaryOperationBinder.cs
來源:
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 表示繫結結果。

適用於