DynamicValue Methods

The DynamicValue type exposes the following members.

Methods

 

Name

Description

DynamicValue Methods 1:

CanLog

Determines whether the used logger is enabled for the specified log level.

DynamicValue Methods 2:

Equals

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

DynamicValue Methods 3:

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

GetDynamicMemberNames

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

DynamicValue Methods 5:

GetHashCode

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

DynamicValue Methods 6:

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

GetType

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

DynamicValue Methods 8:

MemberwiseClone

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

DynamicValue Methods 9:

Read

Reads the value (via ADS)

DynamicValue Methods 10:

ReadAsync

read as an asynchronous operation.

DynamicValue Methods 11:

ResolveValue

Resolves the Value object to its primitive value.

DynamicValue Methods 12:

setMemberValue

Writes the specified member element.

DynamicValue Methods 13:

ToString

Returns a String that represents this instance.
(Overrides ObjectToString)

DynamicValue Methods 14:

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

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 DynamicObjectTryConvert(ConvertBinder, Object))

DynamicValue Methods 16:

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

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

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

TryGetArrayElementValues

Returns Array Element values.

DynamicValue Methods 20:

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 DynamicObjectTryGetIndex(GetIndexBinder, Object, Object))

DynamicValue Methods 21:

TryGetIndexValue(Int32, Object)

Reads the specified array element.

DynamicValue Methods 22:

TryGetIndexValue(Object, Object)

Tries the get index value.

DynamicValue Methods 23:

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 DynamicObjectTryGetMember(GetMemberBinder, Object))

DynamicValue Methods 24:

TryGetMemberValue

Tries the get member value.

DynamicValue Methods 25:

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 DynamicObjectTryInvoke(InvokeBinder, Object, Object))

DynamicValue Methods 26:

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 DynamicObjectTryInvokeMember(InvokeMemberBinder, Object, Object))

DynamicValue Methods 27:

TryResolveValue

Tries to resolves the Value object to its primitive value.

DynamicValue Methods 28:

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 DynamicObjectTrySetIndex(SetIndexBinder, Object, Object))

DynamicValue Methods 29:

TrySetIndexValue(Int32, Object)

Tries to set the indexed value on Arrays

DynamicValue Methods 30:

TrySetIndexValue(Object, Object)

Tries to set the indexed value on Arrays

DynamicValue Methods 31:

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 DynamicObjectTrySetMember(SetMemberBinder, Object))

DynamicValue Methods 32:

TrySetMemberValue

Tries to Set a Member/Property Value

DynamicValue Methods 33:

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

Write

Writes the value (via ADS)

DynamicValue Methods 35:

WriteAsync

write as an asynchronous operation.

Reference

DynamicValue Class TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026