Movatterモバイル変換


[0]ホーム

URL:


Skip to main contentSkip to in-page navigation

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

DynamicMetaObject Class

Definition

Namespace:
System.Dynamic
Assemblies:
System.Core.dll, System.Dynamic.Runtime.dll
Assemblies:
netstandard.dll, System.Linq.Expressions.dll
Assembly:
System.Dynamic.Runtime.dll
Assembly:
System.Linq.Expressions.dll
Assembly:
System.Core.dll
Assembly:
netstandard.dll
Source:
DynamicMetaObject.cs
Source:
DynamicMetaObject.cs
Source:
DynamicMetaObject.cs
Source:
DynamicMetaObject.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public ref class DynamicMetaObject
public class DynamicMetaObject
type DynamicMetaObject = class
Public Class DynamicMetaObject
Inheritance
DynamicMetaObject

Remarks

For more information, download theImplementing Dynamic Interfaces article available in PDF format.

Constructors

NameDescription
DynamicMetaObject(Expression, BindingRestrictions, Object)

Initializes a new instance of theDynamicMetaObject class.

DynamicMetaObject(Expression, BindingRestrictions)

Initializes a new instance of theDynamicMetaObject class.

Fields

NameDescription
EmptyMetaObjects

Represents an empty array of typeDynamicMetaObject. This field is read only.

Properties

NameDescription
Expression

The expression representing theDynamicMetaObject during the dynamic binding process.

HasValue

Gets a value indicating whether theDynamicMetaObject has the runtime value.

LimitType

Gets the limit type of theDynamicMetaObject.

Restrictions

The set of binding restrictions under which the binding is valid.

RuntimeType

Gets theType of the runtime value or null if theDynamicMetaObject has no value associated with it.

Value

The runtime value represented by thisDynamicMetaObject.

Methods

NameDescription
BindBinaryOperation(BinaryOperationBinder, DynamicMetaObject)

Performs the binding of the dynamic binary operation.

BindConvert(ConvertBinder)

Performs the binding of the dynamic conversion operation.

BindCreateInstance(CreateInstanceBinder, DynamicMetaObject[])

Performs the binding of the dynamic create instance operation.

BindDeleteIndex(DeleteIndexBinder, DynamicMetaObject[])

Performs the binding of the dynamic delete index operation.

BindDeleteMember(DeleteMemberBinder)

Performs the binding of the dynamic delete member operation.

BindGetIndex(GetIndexBinder, DynamicMetaObject[])

Performs the binding of the dynamic get index operation.

BindGetMember(GetMemberBinder)

Performs the binding of the dynamic get member operation.

BindInvoke(InvokeBinder, DynamicMetaObject[])

Performs the binding of the dynamic invoke operation.

BindInvokeMember(InvokeMemberBinder, DynamicMetaObject[])

Performs the binding of the dynamic invoke member operation.

BindSetIndex(SetIndexBinder, DynamicMetaObject[], DynamicMetaObject)

Performs the binding of the dynamic set index operation.

BindSetMember(SetMemberBinder, DynamicMetaObject)

Performs the binding of the dynamic set member operation.

BindUnaryOperation(UnaryOperationBinder)

Performs the binding of the dynamic unary operation.

Create(Object, Expression)

Creates a meta-object for the specified object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited fromObject)
GetDynamicMemberNames()

Returns the enumeration of all dynamic member names.

GetHashCode()

Serves as the default hash function.

(Inherited fromObject)
GetType()

Gets theType of the current instance.

(Inherited fromObject)
MemberwiseClone()

Creates a shallow copy of the currentObject.

(Inherited fromObject)
ToString()

Returns a string that represents the current object.

(Inherited fromObject)

Applies to

Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?