System.Dynamic.DynamicMetaObject.Create Method

Creates a meta-object for the specified object.

Syntax

public static DynamicMetaObject Create (object value, System.Linq.Expressions.Expression expression)

Parameters

value
The object to get a meta-object for.
expression
The expression representing this System.Dynamic.DynamicMetaObject during the dynamic binding process.

Returns

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

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Dynamic
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 4.0.0.0