Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DynamicMetaObject Class

Represents the dynamic binding and a binding logic of an object participating in the dynamic binding.

System.Object
  System.Dynamic.DynamicMetaObject

Namespace:  System.Dynamic
Assemblies:   System.Core (in System.Core.dll)
  System.Dynamic.Runtime (in System.Dynamic.Runtime.dll)

public class DynamicMetaObject

The DynamicMetaObject type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryDynamicMetaObject(Expression, BindingRestrictions)Initializes a new instance of the DynamicMetaObject class.
Public methodSupported by Portable Class LibraryDynamicMetaObject(Expression, BindingRestrictions, Object)Initializes a new instance of the DynamicMetaObject class.
Top

  NameDescription
Public propertySupported by Portable Class LibraryExpressionThe expression representing the DynamicMetaObject during the dynamic binding process.
Public propertySupported by Portable Class LibraryHasValueGets a value indicating whether the DynamicMetaObject has the runtime value.
Public propertySupported by Portable Class LibraryLimitTypeGets the limit type of the DynamicMetaObject.
Public propertySupported by Portable Class LibraryRestrictionsThe set of binding restrictions under which the binding is valid.
Public propertySupported by Portable Class LibraryRuntimeTypeGets the Type of the runtime value or null if the DynamicMetaObject has no value associated with it.
Public propertySupported by Portable Class LibraryValueThe runtime value represented by this DynamicMetaObject.
Top

  NameDescription
Public methodSupported by Portable Class LibraryBindBinaryOperationPerforms the binding of the dynamic binary operation.
Public methodSupported by Portable Class LibraryBindConvertPerforms the binding of the dynamic conversion operation.
Public methodSupported by Portable Class LibraryBindCreateInstancePerforms the binding of the dynamic create instance operation.
Public methodSupported by Portable Class LibraryBindDeleteIndexPerforms the binding of the dynamic delete index operation.
Public methodSupported by Portable Class LibraryBindDeleteMemberPerforms the binding of the dynamic delete member operation.
Public methodSupported by Portable Class LibraryBindGetIndexPerforms the binding of the dynamic get index operation.
Public methodSupported by Portable Class LibraryBindGetMemberPerforms the binding of the dynamic get member operation.
Public methodSupported by Portable Class LibraryBindInvokePerforms the binding of the dynamic invoke operation.
Public methodSupported by Portable Class LibraryBindInvokeMemberPerforms the binding of the dynamic invoke member operation.
Public methodSupported by Portable Class LibraryBindSetIndexPerforms the binding of the dynamic set index operation.
Public methodSupported by Portable Class LibraryBindSetMemberPerforms the binding of the dynamic set member operation.
Public methodSupported by Portable Class LibraryBindUnaryOperationPerforms the binding of the dynamic unary operation.
Public methodStatic memberSupported by Portable Class LibraryCreateCreates a meta-object for the specified object.
Public methodSupported by Portable Class LibraryEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported by Portable Class LibraryFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Portable Class LibraryGetDynamicMemberNamesReturns the enumeration of all dynamic member names.
Public methodSupported by Portable Class LibraryGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Portable Class LibraryMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Portable Class LibraryToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberSupported by Portable Class LibraryEmptyMetaObjectsRepresents an empty array of type DynamicMetaObject. This field is read only.
Top

For more information, see documentation on the CodePlex Web site and the MSDN article Implementing Dynamic Interfaces.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft