Uređivanje

Dijeli putem


DynamicMetaObject.Create(Object, Expression) Method

Definition

Creates a meta-object for the specified object.

public:
 static System::Dynamic::DynamicMetaObject ^ Create(System::Object ^ value, System::Linq::Expressions::Expression ^ expression);
public static System.Dynamic.DynamicMetaObject Create (object value, System.Linq.Expressions.Expression expression);
static member Create : obj * System.Linq.Expressions.Expression -> System.Dynamic.DynamicMetaObject
Public Shared Function Create (value As Object, expression As Expression) As DynamicMetaObject

Parameters

value
Object

The object to get a meta-object for.

expression
Expression

The expression representing this DynamicMetaObject during the dynamic binding process.

Returns

If the given object implements IDynamicMetaObjectProvider and is not a remote object from outside the current AppDomain, returns the object's specific meta-object returned by GetMetaObject(Expression). Otherwise a plain new meta-object with no restrictions is created and returned.

Applies to