GetMemberBinder.FallbackGetMember 方法

定义

如果无法绑定目标动态对象,则执行动态获取成员操作的绑定。

重载

FallbackGetMember(DynamicMetaObject)

如果无法绑定目标动态对象,则执行动态获取成员操作的绑定。

FallbackGetMember(DynamicMetaObject, DynamicMetaObject)

在派生类中重写时,如果无法绑定目标动态对象,则执行动态获取成员操作的绑定。

FallbackGetMember(DynamicMetaObject)

Source:
GetMemberBinder.cs
Source:
GetMemberBinder.cs
Source:
GetMemberBinder.cs

如果无法绑定目标动态对象,则执行动态获取成员操作的绑定。

public:
 System::Dynamic::DynamicMetaObject ^ FallbackGetMember(System::Dynamic::DynamicMetaObject ^ target);
public System.Dynamic.DynamicMetaObject FallbackGetMember (System.Dynamic.DynamicMetaObject target);
member this.FallbackGetMember : System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public Function FallbackGetMember (target As DynamicMetaObject) As DynamicMetaObject

参数

target
DynamicMetaObject

动态获取成员操作的目标。

返回

表示绑定结果的 DynamicMetaObject

适用于

FallbackGetMember(DynamicMetaObject, DynamicMetaObject)

Source:
GetMemberBinder.cs
Source:
GetMemberBinder.cs
Source:
GetMemberBinder.cs

在派生类中重写时,如果无法绑定目标动态对象,则执行动态获取成员操作的绑定。

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

参数

target
DynamicMetaObject

动态获取成员操作的目标。

errorSuggestion
DynamicMetaObject

如果绑定失败,则为要使用的绑定结果;否则为 null。

返回

表示绑定结果的 DynamicMetaObject

适用于