DynamicMetaObject Class

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


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

Public Class DynamicMetaObject

The DynamicMetaObject type exposes the following members.

Public methodDynamicMetaObject(Expression, BindingRestrictions)Initializes a new instance of the DynamicMetaObject class.
Public methodDynamicMetaObject(Expression, BindingRestrictions, Object)Initializes a new instance of the DynamicMetaObject class.

Public propertyExpressionThe expression representing the DynamicMetaObject during the dynamic binding process.
Public propertyHasValueGets a value indicating whether the DynamicMetaObject has the runtime value.
Public propertyLimitTypeGets the limit type of the DynamicMetaObject.
Public propertyRestrictionsThe set of binding restrictions under which the binding is valid.
Public propertyRuntimeTypeGets the Type of the runtime value or null if the DynamicMetaObject has no value associated with it.
Public propertyValueThe runtime value represented by this DynamicMetaObject.

Public methodBindBinaryOperationPerforms the binding of the dynamic binary operation.
Public methodBindConvertPerforms the binding of the dynamic conversion operation.
Public methodBindCreateInstancePerforms the binding of the dynamic create instance operation.
Public methodBindDeleteIndexPerforms the binding of the dynamic delete index operation.
Public methodBindDeleteMemberPerforms the binding of the dynamic delete member operation.
Public methodBindGetIndexPerforms the binding of the dynamic get index operation.
Public methodBindGetMemberPerforms the binding of the dynamic get member operation.
Public methodBindInvokePerforms the binding of the dynamic invoke operation.
Public methodBindInvokeMemberPerforms the binding of the dynamic invoke member operation.
Public methodBindSetIndexPerforms the binding of the dynamic set index operation.
Public methodBindSetMemberPerforms the binding of the dynamic set member operation.
Public methodBindUnaryOperationPerforms the binding of the dynamic unary operation.
Public methodStatic memberCreateCreates a meta-object for the specified object.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetDynamicMemberNamesReturns the enumeration of all dynamic member names.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public fieldStatic memberEmptyMetaObjectsRepresents an empty array of type DynamicMetaObject. This field is read only.

For more information, see documentation on the CodePlex Web site.


Supported in: 5, 4

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

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