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:

ReadAsync

read as an asynchronous operation.

DynamicValue Methods 10:

ResolveValue

Resolves the Value object to its primitive value.

DynamicValue Methods 11:

setMemberValue

Writes the specified member element.

DynamicValue Methods 12:

ToString

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

DynamicValue Methods 13:

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 14:

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 15:

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 16:

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 17:

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 18:

TryGetArrayElementValues

Returns Array Element values.

DynamicValue Methods 19:

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 20:

TryGetIndexValue(.Int32., Object.)

Reads the specified array element.

DynamicValue Methods 21:

TryGetIndexValue(.Object., Object.)

Tries the get index value.

DynamicValue Methods 22:

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 23:

TryGetMemberValue

Tries the get member value.

DynamicValue Methods 24:

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 25:

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 26:

TryResolveValue

Tries to resolves the Value object to its primitive value.

DynamicValue Methods 27:

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 28:

TrySetIndexValue(.Int32., Object)

Tries to set the indexed value on Arrays

DynamicValue Methods 29:

TrySetIndexValue(.Object., Object)

Tries to set the indexed value on Arrays

DynamicValue Methods 30:

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 31:

TrySetMemberValue

Tries to Set a Member/Property Value

DynamicValue Methods 32:

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 33:

Write

Writes the value (via ADS)

DynamicValue Methods 34:

WriteAsync

write as an asynchronous operation.

Reference

DynamicValue Class

TwinCAT.TypeSystem Namespace