DynamicUnionInstance Class

Dynamic union instance

Inheritance Hierarchy

System.Object
  System.Dynamic.DynamicObject
    TwinCAT.TypeSystem.DynamicSymbol
      TwinCAT.TypeSystem.DynamicUnionInstance
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public sealed class DynamicUnionInstance : DynamicSymbol, 
    IUnionInstance, ISymbol, IAttributedInstance, IInstance, IBitSize

The DynamicUnionInstance type exposes the following members.

Properties

 

Name

Description

DynamicUnionInstance Class 1:

_InnerSymbol

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

DynamicUnionInstance Class 2:

AccessRights

Gets the access rights. (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 3:

Attributes

Gets the Symbol Attributes (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 4:

BitSize

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

DynamicUnionInstance Class 5:

ByteSize

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

DynamicUnionInstance Class 6:

Category

Gets the category. (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 7:

Comment

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

DynamicUnionInstance Class 8:

Connection

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

DynamicUnionInstance Class 9:

DataType

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

DynamicUnionInstance Class 10:

FieldInstances

Gets the member instances of the Struct Instance.

DynamicUnionInstance 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.)

DynamicUnionInstance Class 12:

InstanceName

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

DynamicUnionInstance Class 13:

InstancePath

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

DynamicUnionInstance 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.)

DynamicUnionInstance Class 15:

IsByteAligned

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

DynamicUnionInstance Class 16:

IsContainerType

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

DynamicUnionInstance Class 17:

IsPersistent

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

DynamicUnionInstance Class 18:

IsPointer

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

DynamicUnionInstance Class 19:

IsPrimitiveType

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

DynamicUnionInstance Class 20:

IsReadOnly

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

DynamicUnionInstance Class 21:

IsRecursive

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

DynamicUnionInstance Class 22:

IsReference

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

DynamicUnionInstance Class 23:

IsStatic

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

DynamicUnionInstance Class 24:

NormalizedName

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

DynamicUnionInstance Class 25:

NotificationSettings

Gets the notification settings. (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 26:

Parent

Gets the parent Symbol (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 27:

Size

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

DynamicUnionInstance Class 28:

SubSymbols

Gets the SubSymbols of the ISymbol (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 29:

TypeName

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

DynamicUnionInstance Class 30:

ValueEncoding

Gets the value encoding. (Inherited from DynamicSymbol.)

Methods

 

Name

Description

DynamicUnionInstance Class 31:

Equals

Equals (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 32:

GetDynamicMemberNames

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

DynamicUnionInstance Class 33:

GetHashCode

Gets the HashCode of the Address (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 34:

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.)

DynamicUnionInstance Class 35:

GetType

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

DynamicUnionInstance Class 36:

ReadAnyValue

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

DynamicUnionInstance Class 37:

ReadRawValue.

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

DynamicUnionInstance Class 38:

ReadRawValue(Int32)

Reads the Symbols raw value (Inherited from DynamicSymbol.)

DynamicUnionInstance Class 39:

ReadRawValueAsync

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

DynamicUnionInstance Class 40:

ReadValue.

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

DynamicUnionInstance Class 41:

ReadValue(Int32)

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

DynamicUnionInstance Class 42:

ReadValueAsync

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

DynamicUnionInstance Class 43:

ToString

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

DynamicUnionInstance Class 44:

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.)

DynamicUnionInstance Class 45:

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.)

DynamicUnionInstance Class 46:

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.)

DynamicUnionInstance Class 47:

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.)

DynamicUnionInstance Class 48:

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.)

DynamicUnionInstance Class 49:

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.)

DynamicUnionInstance Class 50:

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

DynamicUnionInstance Class 51:

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.)

DynamicUnionInstance Class 52:

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 DynamicObject.)

DynamicUnionInstance Class 53:

TryReadValue

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

DynamicUnionInstance Class 54:

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.)

DynamicUnionInstance Class 55:

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).)

DynamicUnionInstance Class 56:

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.)

DynamicUnionInstance Class 57:

DynamicUnionInstance Class 58:

TryWriteValue

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

DynamicUnionInstance Class 59:

UpdateAnyValue

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

DynamicUnionInstance Class 60:

WriteAnyValue

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

DynamicUnionInstance Class 61:

WriteRawValue(.Byte.)

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

DynamicUnionInstance Class 62:

WriteRawValue(.Byte., Int32)

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

DynamicUnionInstance Class 63:

WriteRawValueAsync

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

DynamicUnionInstance Class 64:

WriteValue(Object)

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

DynamicUnionInstance Class 65:

DynamicUnionInstance Class 66:

WriteValue(Object, Int32)

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

DynamicUnionInstance Class 67:

WriteValueAsync

Writes the Value of the IValueSymbol (Inherited from DynamicSymbol.)

Events

 

Name

Description

DynamicUnionInstance Class 68:

RawValueChanged

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

DynamicUnionInstance Class 69:

ValueChanged

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

Extension Methods

 

Name

Description

ReferencesExternalData

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

Reference

TwinCAT.TypeSystem Namespace