DynamicVirtualStructInstance 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 sealed class DynamicVirtualStructInstance : DynamicStructInstance, 
    IVirtualStructInstance, IStructInstance, IInterfaceInstance, ISymbol, IAttributedInstance, 
    IInstance, IBitSize, IRpcCallableInstance

The DynamicVirtualStructInstance type exposes the following members.

Properties

 

Name

Description

DynamicVirtualStructInstance Class 1:

_InnerSymbol

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

DynamicVirtualStructInstance Class 2:

AccessRights

Gets the access rights.
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 3:

Attributes

Gets the Symbol Attributes
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 4:

BitSize

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

DynamicVirtualStructInstance Class 5:

ByteSize

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

DynamicVirtualStructInstance Class 6:

Category

Gets the category.
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 7:

Comment

Gets the comment of the IInstance
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 8:

Connection

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

DynamicVirtualStructInstance Class 9:

DataType

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

DynamicVirtualStructInstance Class 10:

HasRpcMethods

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

DynamicVirtualStructInstance Class 11:

HasValue

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

DynamicVirtualStructInstance Class 12:

InstanceName

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

DynamicVirtualStructInstance Class 13:

InstancePath

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

DynamicVirtualStructInstance Class 14:

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)

DynamicVirtualStructInstance Class 15:

IsByteAligned

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

DynamicVirtualStructInstance Class 16:

IsContainerType

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

DynamicVirtualStructInstance Class 17:

IsPersistent

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

DynamicVirtualStructInstance Class 18:

IsPointer

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

DynamicVirtualStructInstance Class 19:

IsPrimitiveType

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

DynamicVirtualStructInstance Class 20:

IsProperty

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

DynamicVirtualStructInstance Class 21:

IsReadOnly

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

DynamicVirtualStructInstance Class 22:

IsRecursive

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

DynamicVirtualStructInstance Class 23:

IsReference

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

DynamicVirtualStructInstance Class 24:

IsStatic

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

DynamicVirtualStructInstance Class 25:

MemberInstances

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

DynamicVirtualStructInstance Class 26:

NormalizedName

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

DynamicVirtualStructInstance Class 27:

NotificationSettings

Gets the notification settings.
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 28:

Parent

Gets the parent Symbol
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 29:

RpcMethods

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

DynamicVirtualStructInstance Class 30:

Size

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

DynamicVirtualStructInstance Class 31:

SubSymbols

Gets the SubSymbols of the ISymbol
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 32:

TypeName

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

DynamicVirtualStructInstance Class 33:

ValueEncoding

Gets the value encoding.
(Inherited from DynamicSymbol)

Methods

 

Name

Description

DynamicVirtualStructInstance Class 34:

AddMember

Adds an member instance.

DynamicVirtualStructInstance Class 35:

Equals

Equals
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 36:

GetDynamicMemberNames

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

DynamicVirtualStructInstance Class 37:

GetHashCode

Gets the HashCode of the Address
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 38:

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)

DynamicVirtualStructInstance Class 39:

GetType

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

DynamicVirtualStructInstance Class 40:

DynamicVirtualStructInstance Class 41:

InvokeRpcMethodAsync

Invokes the specified RPC Method asynchronously
(Inherited from DynamicInterfaceInstance)

DynamicVirtualStructInstance Class 42:

ReadAnyValue

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

DynamicVirtualStructInstance Class 43:

ReadRawValue

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

DynamicVirtualStructInstance Class 44:

ReadRawValue(Int32)

Reads the Symbols raw value
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 45:

ReadRawValueAsync

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

DynamicVirtualStructInstance Class 46:

ReadValue

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

DynamicVirtualStructInstance Class 47:

ReadValue(Int32)

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

DynamicVirtualStructInstance Class 48:

ReadValueAsync

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

DynamicVirtualStructInstance Class 49:

ToString

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

DynamicVirtualStructInstance Class 50:

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)

DynamicVirtualStructInstance Class 51:

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)

DynamicVirtualStructInstance Class 52:

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)

DynamicVirtualStructInstance Class 53:

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)

DynamicVirtualStructInstance Class 54:

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)

DynamicVirtualStructInstance Class 55:

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)

DynamicVirtualStructInstance Class 56:

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)

DynamicVirtualStructInstance Class 57:

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)

DynamicVirtualStructInstance Class 58:

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)

DynamicVirtualStructInstance Class 59:

DynamicVirtualStructInstance Class 60:

TryInvokeRpcMethod(String, Object, Object)

Invokes the specified RPC Method
(Inherited from DynamicInterfaceInstance)

DynamicVirtualStructInstance Class 61:

DynamicVirtualStructInstance Class 62:

TryInvokeRpcMethod(String, Object, Object, Object)

Invokes the specified RPC Method
(Inherited from DynamicInterfaceInstance)

DynamicVirtualStructInstance Class 63:

TryReadValue

Reads the Value of the IValueSymbol
(Inherited from DynamicSymbol)

DynamicVirtualStructInstance Class 64:

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)

DynamicVirtualStructInstance Class 65:

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)

DynamicVirtualStructInstance Class 66:

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)

DynamicVirtualStructInstance Class 67:

DynamicVirtualStructInstance Class 68:

TryWriteValue

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

DynamicVirtualStructInstance Class 69:

UpdateAnyValue

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

DynamicVirtualStructInstance Class 70:

WriteAnyValue

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

DynamicVirtualStructInstance Class 71:

WriteRawValue(Byte)

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

DynamicVirtualStructInstance Class 72:

WriteRawValue(Byte, Int32)

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

DynamicVirtualStructInstance Class 73:

WriteRawValueAsync

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

DynamicVirtualStructInstance Class 74:

WriteValue(Object)

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

DynamicVirtualStructInstance Class 75:

DynamicVirtualStructInstance Class 76:

WriteValue(Object, Int32)

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

DynamicVirtualStructInstance Class 77:

WriteValueAsync

Writes the Value of the IValueSymbol
(Inherited from DynamicSymbol)

Events

 

Name

Description

DynamicVirtualStructInstance Class 78:

RawValueChanged

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

DynamicVirtualStructInstance Class 79:

ValueChanged

Occurs when the value of the IValueSymbol has changed.
(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