DynamicStructInstance Class

Dynamic struct instance

Inheritance Hierarchy

SystemObject
  System.DynamicDynamicObject
    TwinCAT.TypeSystemDynamicSymbol
      TwinCAT.TypeSystemDynamicInterfaceInstance
        TwinCAT.TypeSystemDynamicStructInstance
          TwinCAT.TypeSystemDynamicVirtualStructInstance

Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public class DynamicStructInstance : DynamicInterfaceInstance, 
    IRpcStructInstance, IStructInstance, IInterfaceInstance, ISymbol, IAttributedInstance, 
    IInstance, IBitSize, IRpcCallableInstance

The DynamicStructInstance type exposes the following members.

Properties

 

Name

Description

DynamicStructInstance Class 1:

_InnerSymbol

Gets the inner symbol of this DynamicSymbol
(Inherited from DynamicSymbol)

DynamicStructInstance Class 2:

AccessRights

Gets the access rights.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 3:

AllowIGIOAccess

Indicates, that the aggregates symbols is an IProcessImageAddress (and most probably IAdsSymbol)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 4:

Attributes

Gets the Symbol Attributes
(Inherited from DynamicSymbol)

DynamicStructInstance Class 5:

BitSize

Gets the size of the IDataType in bits.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 6:

ByteSize

Gets the (aligned) size of of the Type/Instance in Bytes
(Inherited from DynamicSymbol)

DynamicStructInstance Class 7:

Category

Gets the category.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 8:

Comment

Gets the comment of the IInstance
(Inherited from DynamicSymbol)

DynamicStructInstance Class 9:

Connection

Gets the connection bound to this DynamicSymbol
(Inherited from DynamicSymbol)

DynamicStructInstance Class 10:

DataType

Gets the IDataType of the IInstance.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 11:

HasRpcMethods

Gets a value indicating whether this instance has RPC methods
(Inherited from DynamicInterfaceInstance)

DynamicStructInstance Class 12:

HasValue

Gets a value indicating whether this instance has value (only the non VirtualInstances, what means the Symbols with locations).
(Inherited from DynamicSymbol)

DynamicStructInstance Class 13:

InstanceName

Gets the name of the instance (without periods (.)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 14:

InstancePath

Gets the relative / absolute access path to the instance (with periods (.))
(Inherited from DynamicSymbol)

DynamicStructInstance Class 15:

IsBitType

Gets a value indicating whether this instance is not basing on a full DataType but instead of some sort of bit mapping
(Inherited from DynamicSymbol)

DynamicStructInstance Class 16:

IsByteAligned

Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 17:

IsContainerType

Gets a value indicating whether this Symbol is acontainer type.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 18:

IsPersistent

Gets a value indicating whether this ISymbol is persistent.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 19:

IsPointer

Indicates that the IInstance represents a Pointer type (Pointer TO)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 20:

IsPrimitiveType

Gets a value indicating whether this instance is a primitive type.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 21:

IsProperty

Gets a value indicating whether IInstance is a property.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 22:

IsReadOnly

Indicates that this instance is read only.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 23:

IsRecursive

Gets a value indicating whether this instance is recursive.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 24:

IsReference

Indicates that the IInstance represents a Reference type (REFERENCE TO)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 25:

IsStatic

Gets a value indicating whether this instance is static.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 26:

MemberInstances

Gets the member instances of the Struct Instance.
(Inherited from DynamicInterfaceInstance)

DynamicStructInstance Class 27:

NormalizedName

Gets the normalized instance name (fixed name for dynamic property access that doesn't contain invalid characters),
(Inherited from DynamicSymbol)

DynamicStructInstance Class 28:

NotificationSettings

Gets the notification settings.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 29:

Parent

Gets the parent Symbol
(Inherited from DynamicSymbol)

DynamicStructInstance Class 30:

RpcMethods

Gets the Method descriptions for the IRpcCallableType
(Inherited from DynamicInterfaceInstance)

DynamicStructInstance Class 31:

Size

Gets the size of the IInstance in bytes.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 32:

SubSymbols

Gets the SubSymbols of the ISymbol
(Inherited from DynamicSymbol)

DynamicStructInstance Class 33:

TypeName

Gets the name of the DataType that is used for this IInstance.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 34:

ValueEncoding

Gets the value encoding.
(Inherited from DynamicSymbol)

Methods

 

Name

Description

DynamicStructInstance Class 35:

Equals

Equals
(Inherited from DynamicSymbol)

DynamicStructInstance Class 36:

Finalize

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

DynamicStructInstance Class 37:

GetDynamicMemberNames

Returns the enumeration of all dynamic member names.
(Inherited from DynamicInterfaceInstance)

DynamicStructInstance Class 38:

GetHashCode

Gets the HashCode of the Address
(Inherited from DynamicSymbol)

DynamicStructInstance Class 39:

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)

DynamicStructInstance Class 40:

GetType

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

DynamicStructInstance Class 41:

DynamicStructInstance Class 42:

InvokeRpcMethodAsync

Invokes the specified RPC Method asynchronously
(Inherited from DynamicInterfaceInstance)

DynamicStructInstance Class 43:

MemberwiseClone

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

DynamicStructInstance Class 44:

OnReadAnyValue

Handler function for reading ADS 'Any' Values.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 45:

OnReadRawValue

Handler function for reading Raw symbol value.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 46:

OnReadRawValueAsync

Handler function reading the raw value of the DynamicSymbol.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 47:

OnReadValue

Handler function for the
(Inherited from DynamicSymbol)

DynamicStructInstance Class 48:

OnReadValueAsync

Handler function reading the DynamicSymbols value asynchronously.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 49:

OnSetInstanceName

Sets a new InstanceName InstancePath
(Inherited from DynamicSymbol)

DynamicStructInstance Class 50:

OnTryReadValue

Handler function for the
(Inherited from DynamicSymbol)

DynamicStructInstance Class 51:

OnTryWriteValue

Handler Function for writing value.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 52:

OnWriteRawValue

Handler function for reading symbols raw value.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 53:

OnWriteRawValueAsync

Handler function for writing the raw DynamicSymbol value.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 54:

OnWriteValue

Handler Function for writing value.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 55:

OnWriteValueAsync

Handler Function for writing value.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 56:

ReadAnyValue

Reads the value of this Value into a new created instance of the managed type
(Inherited from DynamicSymbol)

DynamicStructInstance Class 57:

ReadRawValue

Reads the raw value of the IValueSymbol (Ads Read / Write)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 58:

ReadRawValue(Int32)

Reads the Symbols raw value
(Inherited from DynamicSymbol)

DynamicStructInstance Class 59:

ReadRawValueAsync

Read raw value as an asynchronous operation.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 60:

ReadValue

Reads the value of this DynamicSymbol.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 61:

ReadValue(Int32)

Reads the value of this DynamicSymbol.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 62:

ReadValueAsync

Reads the Value of the IValueSymbol asynchronously.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 63:

ToString

Returns a String that represents this instance.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 64:

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)

DynamicStructInstance Class 65:

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

DynamicStructInstance Class 66:

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)

DynamicStructInstance Class 67:

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)

DynamicStructInstance Class 68:

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)

DynamicStructInstance Class 69:

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

DynamicStructInstance Class 70:

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

DynamicStructInstance Class 71:

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

DynamicStructInstance Class 72:

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

DynamicStructInstance Class 73:

DynamicStructInstance Class 74:

TryInvokeRpcMethod(String, Object, Object)

Invokes the specified RPC Method
(Inherited from DynamicInterfaceInstance)

DynamicStructInstance Class 75:

DynamicStructInstance Class 76:

TryInvokeRpcMethod(String, Object, Object, Object)

Invokes the specified RPC Method
(Inherited from DynamicInterfaceInstance)

DynamicStructInstance Class 77:

TryReadValue

Reads the Value of the IValueSymbol
(Inherited from DynamicSymbol)

DynamicStructInstance Class 78:

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

DynamicStructInstance Class 79:

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

DynamicStructInstance Class 80:

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)

DynamicStructInstance Class 81:

DynamicStructInstance Class 82:

TryWriteValue

Writes the specified value to the DynamicSymbol.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 83:

UpdateAnyValue

Reads the value of this Value into the specified managed value.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 84:

WriteAnyValue

Writes the value represented by the managed value to this Value
(Inherited from DynamicSymbol)

DynamicStructInstance Class 85:

WriteRawValue(Byte)

Writes the raw value of the IValueSymbol (Ads Read / Write)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 86:

WriteRawValue(Byte, Int32)

Writes the raw value of the IValueSymbol (Ads Read / Write)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 87:

WriteRawValueAsync

Writes the raw value of the IValueSymbol (Ads Read / Write)
(Inherited from DynamicSymbol)

DynamicStructInstance Class 88:

WriteValue(Object)

Writes the specified value to the DynamicSymbol.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 89:

DynamicStructInstance Class 90:

WriteValue(Object, Int32)

Writes the specified value to the DynamicSymbol.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 91:

WriteValueAsync

Writes the Value of the IValueSymbol
(Inherited from DynamicSymbol)

Events

 

Name

Description

DynamicStructInstance Class 92:

RawValueChanged

Occurs when the RawValue of the IValueSymbol has changed.
(Inherited from DynamicSymbol)

DynamicStructInstance Class 93:

ValueChanged

Occurs when the value of the IValueSymbol has changed.
(Inherited from DynamicSymbol)

Fields

 

Name

Description

DynamicStructInstance Class 94:

syncObject

Synchronization object
(Inherited from DynamicSymbol)

Extension Methods

 

Name

Description

HasExternalDataReferences

Indicates, that the Instance value includes process memory data, that cannot be read in one memory block.
(Defined by DataTypeExtension)

IsExternalDataReference

Indicates, that the field is static or is not part of the parents processimage memory location
(Defined by DataTypeExtension)

Unwrap

Gets the Unwrapped Symbol
(Defined by SymbolExtensions)

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026