DynamicObject Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetDynamicMemberNames()

Returns the enumeration of all dynamic member names.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetMetaObject(Expression)

Provides a DynamicMetaObject that dispatches to the dynamic virtual methods. The object can be encapsulated inside another DynamicMetaObject to provide custom behavior for individual actions. This method supports the Dynamic Language Runtime infrastructure for language implementers and it is not intended to be used directly from your code.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryBinaryOperation(BinaryOperationBinder, Object, Object)

Provides implementation for binary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as addition and multiplication.

System_CAPS_pubmethodTryConvert(ConvertBinder, Object)

Provides implementation for type conversion operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations that convert an object from one type to another.

System_CAPS_pubmethodTryCreateInstance(CreateInstanceBinder, Object[], Object)

Provides the implementation for operations that initialize a new instance of a dynamic object. This method is not intended for use in C# or Visual Basic.

System_CAPS_pubmethodTryDeleteIndex(DeleteIndexBinder, Object[])

Provides the implementation for operations that delete an object by index. This method is not intended for use in C# or Visual Basic.

System_CAPS_pubmethodTryDeleteMember(DeleteMemberBinder)

Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.

System_CAPS_pubmethodTryGetIndex(GetIndexBinder, Object[], Object)

Provides the implementation for operations that get a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for indexing operations.

System_CAPS_pubmethodTryGetMember(GetMemberBinder, Object)

Provides the implementation for operations that get member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.

System_CAPS_pubmethodTryInvoke(InvokeBinder, Object[], Object)

Provides the implementation for operations that invoke an object. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as invoking an object or a delegate.

System_CAPS_pubmethodTryInvokeMember(InvokeMemberBinder, Object[], Object)

Provides the implementation for operations that invoke a member. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as calling a method.

System_CAPS_pubmethodTrySetIndex(SetIndexBinder, Object[], Object)

Provides the implementation for operations that set a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations that access objects by a specified index.

System_CAPS_pubmethodTrySetMember(SetMemberBinder, Object)

Provides the implementation for operations that set member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as setting a value for a property.

System_CAPS_pubmethodTryUnaryOperation(UnaryOperationBinder, Object)

Provides implementation for unary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as negation, increment, or decrement.

Return to top
Show: