DynamicValue Methods

The DynamicValue type exposes the following members.

Methods

 

Name

Description

DynamicValue Methods 1:

Equals

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

DynamicValue Methods 2:

Finalize

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

DynamicValue Methods 3:

GetDynamicMemberNames

Returns the enumeration of all dynamic member names. (Overrides DynamicObject.GetDynamicMemberNames..)

DynamicValue Methods 4:

GetHashCode

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

DynamicValue Methods 5:

GetMetaObject

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. (Inherited from DynamicObject.)

DynamicValue Methods 6:

GetType

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

DynamicValue Methods 7:

MemberwiseClone

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

DynamicValue Methods 8:

Read

Reads the value (via ADS)

DynamicValue Methods 9:

ReadMember

Reads the specified member element.

DynamicValue Methods 10:

ResolveValue

Resolves the Value object to its primitive value.

DynamicValue Methods 11:

ToString

Returns a String that represents this instance. (Overrides Object.ToString..)

DynamicValue Methods 12:

TryBinaryOperation

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. (Inherited from DynamicObject.)

DynamicValue Methods 13:

TryConvert

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. (Overrides DynamicObject.TryConvert(ConvertBinder, Object.).)

DynamicValue Methods 14:

TryCreateInstance

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. (Inherited from DynamicObject.)

DynamicValue Methods 15:

TryDeleteIndex

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

DynamicValue Methods 16:

TryDeleteMember

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

DynamicValue Methods 17:

TryGetArrayElementValues

Returns Array Element values.

DynamicValue Methods 18:

TryGetIndex

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. (Overrides DynamicObject.TryGetIndex(GetIndexBinder, .Object., Object.).)

DynamicValue Methods 19:

TryGetIndexValue(.Int32., Object.)

Reads the specified array element.

DynamicValue Methods 20:

TryGetIndexValue(.Object., Object.)

Tries the get index value.

DynamicValue Methods 21:

TryGetMember

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. (Overrides DynamicObject.TryGetMember(GetMemberBinder, Object.).)

DynamicValue Methods 22:

TryGetMemberValue

Tries the get member value.

DynamicValue Methods 23:

TryInvoke

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. (Overrides DynamicObject.TryInvoke(InvokeBinder, .Object., Object.).)

DynamicValue Methods 24:

TryInvokeMember

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. (Overrides DynamicObject.TryInvokeMember(InvokeMemberBinder, .Object., Object.).)

DynamicValue Methods 25:

TryResolveValue

Tries to resolves the Value object to its primitive value.

DynamicValue Methods 26:

TrySetIndex

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. (Overrides DynamicObject.TrySetIndex(SetIndexBinder, .Object., Object).)

DynamicValue Methods 27:

TrySetIndexValue

Tries to set the indexed value on Arrays

DynamicValue Methods 28:

TrySetMember

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. (Overrides DynamicObject.TrySetMember(SetMemberBinder, Object).)

DynamicValue Methods 29:

TrySetMemberValue

Tries to Set a Member/Property Value

DynamicValue Methods 30:

TryUnaryOperation

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. (Inherited from DynamicObject.)

DynamicValue Methods 31:

Write

Writes the value (via ADS)

DynamicValue Methods 32:

WriteMember

Writes the specified member element.

Reference

DynamicValue Class

TwinCAT.TypeSystem Namespace