DynamicMetaObject.Create Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Creates a meta-object for the specified object.

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

Syntax

'Declaration
Public Shared Function Create ( _
    value As Object, _
    expression As Expression _
) As DynamicMetaObject
public static DynamicMetaObject Create(
    Object value,
    Expression expression
)

Parameters

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.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.