DynamicUnionInstance Class
Dynamic union instance
Inheritance Hierarchy
SystemObject
System.DynamicDynamicObject
TwinCAT.TypeSystemDynamicSymbol
TwinCAT.TypeSystemDynamicUnionInstance
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public sealed class DynamicUnionInstance : DynamicSymbol,
IUnionInstance, ISymbol, IAttributedInstance, IInstance, IBitSizeThe DynamicUnionInstance type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the inner symbol of this DynamicSymbol | |
|
|
Gets the access rights. | |
|
|
Gets the Symbol Attributes | |
|
|
Gets the size of the IDataType in
bits. | |
|
|
Gets the (aligned) size of of the Type/Instance in Bytes | |
|
|
Gets the category. | |
|
|
Gets the comment of the IInstance | |
|
|
Gets the connection bound to this DynamicSymbol | |
|
|
Gets the IDataType of the
IInstance. | |
|
|
Gets the member instances of the Struct Instance. | |
|
|
Gets a value indicating whether this instance has value (only
the non VirtualInstances, what means the Symbols with
locations). | |
|
|
Gets the name of the instance (without periods (.) | |
|
|
Gets the relative / absolute access path to the instance (with
periods (.)) | |
|
|
Gets a value indicating whether this instance is not basing on
a full DataType but instead of some sort of bit mapping | |
|
|
Indicates that the Size of the Object is Byte aligned (BitSize
% 8 == 0) | |
|
|
Gets a value indicating whether this Symbol is acontainer
type. | |
|
|
Gets a value indicating whether this ISymbol is
persistent. | |
|
|
Indicates that the IInstance represents
a Pointer type (Pointer TO) | |
|
|
Gets a value indicating whether this instance is a primitive
type. | |
|
|
Gets a value indicating whether IInstance is a
property. | |
|
|
Indicates that this instance is read only. | |
|
|
Gets a value indicating whether this instance is
recursive. | |
|
|
Indicates that the IInstance represents
a Reference type (REFERENCE TO) | |
|
|
Gets a value indicating whether this instance is static. | |
|
|
Gets the normalized instance name (fixed name for dynamic
property access that doesn't contain invalid characters), | |
|
|
Gets the notification settings. | |
|
|
Gets the parent Symbol | |
|
|
Gets the size of the IInstance in
bytes. | |
|
|
Gets the SubSymbols of the ISymbol | |
|
|
Gets the name of the DataType that is
used for this IInstance. | |
|
|
Gets the value encoding. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Equals | |
|
|
Returns the enumeration of all dynamic member names. | |
|
|
Gets the HashCode of the Address | |
|
|
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. | |
|
|
Gets the Type of the current
instance. | |
|
|
Reads the value of this Value into a new
created instance of the managed type | |
|
|
Reads the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Reads the Symbols raw value | |
|
|
Read raw value as an asynchronous operation. | |
|
|
Reads the value of this DynamicSymbol. | |
|
|
Reads the value of this DynamicSymbol. | |
|
|
Reads the Value of the IValueSymbol
asynchronously. | |
|
|
Returns a String that represents this
instance. | |
|
|
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. | |
|
|
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. | |
|
|
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. | |
|
|
Provides the implementation for operations that delete an
object by index. This method is not intended for use in C# or
Visual Basic. | |
|
|
Provides the implementation for operations that delete an
object member. This method is not intended for use in C# or Visual
Basic. | |
|
|
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. | |
|
|
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. | |
|
|
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. | |
|
|
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. | |
|
|
Reads the Value of the IValueSymbol | |
|
|
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. | |
|
|
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. | |
|
|
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. | |
|
|
Writes the specified value to the DynamicSymbol. | |
|
|
Reads the value of this Value into the
specified managed value. | |
|
|
Writes the value represented by the managed value to this
Value | |
|
|
Writes the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Writes the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Writes the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Writes the specified value to the DynamicSymbol. | |
|
|
Writes the specified value to the DynamicSymbol. | |
|
|
Writes the Value of the IValueSymbol |
Events
|
|
Name |
Description |
|---|---|---|
|
|
Occurs when the RawValue of the IValueSymbol has
changed. | |
|
|
Occurs when the value of the IValueSymbol has
changed. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Indicates, that the Instance value includes process memory
data, that cannot be read in one memory block. | |
|
|
Indicates, that the field is static or is not part of the
parents processimage memory location | |
|
|
Gets the Unwrapped Symbol |
- DynamicSymbol._InnerSymbol Property
- DynamicSymbol.AccessRights Property
- DynamicSymbol.Attributes Property
- DynamicSymbol.BitSize Property
- DynamicSymbol.ByteSize Property
- DynamicSymbol.Category Property
- DynamicSymbol.Comment Property
- DynamicSymbol.Connection Property
- DynamicSymbol.DataType Property
- DynamicUnionInstance.FieldInstances Property
- DynamicSymbol.HasValue Property
- DynamicSymbol.InstanceName Property
- DynamicSymbol.InstancePath Property
- DynamicSymbol.IsBitType Property
- DynamicSymbol.IsByteAligned Property
- DynamicSymbol.IsContainerType Property
- DynamicSymbol.IsPersistent Property
- DynamicSymbol.IsPointer Property
- DynamicSymbol.IsPrimitiveType Property
- DynamicSymbol.IsReadOnly Property
- DynamicSymbol.IsRecursive Property
- DynamicSymbol.IsReference Property
- DynamicSymbol.IsStatic Property
- DynamicSymbol.NormalizedName Property
- DynamicSymbol.NotificationSettings Property
- DynamicSymbol.Parent Property
- DynamicSymbol.Size Property
- DynamicSymbol.SubSymbols Property
- DynamicSymbol.TypeName Property
- DynamicSymbol.ValueEncoding Property
- DynamicSymbol.Equals Method
- DynamicUnionInstance.GetDynamicMemberNames Method
- DynamicSymbol.GetDynamicMemberNames Method
- DynamicSymbol.GetHashCode Method
- DynamicSymbol.ReadAnyValue Method
- DynamicSymbol.ReadRawValue Method
- DynamicSymbol.ReadRawValue Method (Int32)
- DynamicSymbol.ReadRawValueAsync Method
- DynamicSymbol.ReadValue Method
- DynamicSymbol.ReadValue Method (Int32)
- DynamicSymbol.ReadValueAsync Method
- DynamicSymbol.ToString Method
- DynamicUnionInstance.TryGetMember Method
- DynamicSymbol.TryGetMember Method
- DynamicSymbol.TryReadValue Method
- DynamicUnionInstance.TrySetMember Method
- DynamicSymbol.TryWriteValue Method
- DynamicSymbol.UpdateAnyValue Method
- DynamicSymbol.WriteAnyValue Method
- DynamicSymbol.WriteRawValue Method (.Byte.)
- DynamicSymbol.WriteRawValue Method (.Byte., Int32)
- DynamicSymbol.WriteRawValueAsync Method
- DynamicSymbol.WriteValue Method (Object)
- DynamicSymbol.WriteValue Method (Object, Int32)
- DynamicSymbol.WriteValueAsync Method
- DynamicSymbol.RawValueChanged Event
- DynamicSymbol.ValueChanged Event