Export (0) Print
Expand All

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
Assembly:  System.Core (in System.Core.dll)

public class DynamicMetaObject

The DynamicMetaObject type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.
Top

  NameDescription
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 it 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.)
Top

  NameDescription
Public fieldStatic memberEmptyMetaObjectsRepresents 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

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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

Community Additions

ADD
Show:
© 2014 Microsoft