Create Method

DynamicMetaObject.Create Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a meta-object for the specified object.

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

public static DynamicMetaObject Create(
	Object value,
	Expression expression
)

Parameters

value
Type: System.Object
The object to get a meta-object for.
expression
Type: System.Linq.Expressions.Expression
The expression representing this DynamicMetaObject during the dynamic binding process.

Return Value

Type: System.Dynamic.DynamicMetaObject
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. Otherwise a plain new meta-object with no restrictions is created and returned.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft