ExpandoObject.IDynamicMetaObjectProvider.GetMetaObject(Expression) 方法

定义

提供的 MetaObject 将调度到 Dynamic 虚方法。The provided MetaObject will dispatch to the dynamic virtual methods. 可以将该对象封装到另一个 MetaObject 中,以便为单个操作提供自定义行为。The object can be encapsulated inside another MetaObject to provide custom behavior for individual actions.

 virtual System::Dynamic::DynamicMetaObject ^ System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System::Linq::Expressions::Expression ^ parameter) = System::Dynamic::IDynamicMetaObjectProvider::GetMetaObject;
System.Dynamic.DynamicMetaObject IDynamicMetaObjectProvider.GetMetaObject (System.Linq.Expressions.Expression parameter);
Function GetMetaObject (parameter As Expression) As DynamicMetaObject Implements IDynamicMetaObjectProvider.GetMetaObject

参数

parameter
Expression

表示要调度到动态虚方法的 MetaObject 的表达式。The expression that represents the MetaObject to dispatch to the Dynamic virtual methods.

返回

类型为 DynamicMetaObject 的对象。The object of the DynamicMetaObject type.

实现

适用于