DynamicStructInstance Class
Dynamic struct instance
Inheritance Hierarchy
System.Object
System.Dynamic.DynamicObject
TwinCAT.TypeSystem.DynamicSymbol
TwinCAT.TypeSystem.DynamicInterfaceInstance
TwinCAT.TypeSystem.DynamicStructInstance
TwinCAT.TypeSystem.DynamicVirtualStructInstance
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public class DynamicStructInstance : DynamicInterfaceInstance,
IRpcStructInstance, IStructInstance, IInterfaceInstance, ISymbol, IAttributedInstance,
IInstance, IBitSize, IRpcCallableInstance
The DynamicStructInstance type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the inner symbol of this DynamicSymbol (Inherited from DynamicSymbol.) | |
|
Gets the access rights. (Inherited from DynamicSymbol.) | |
|
Indicates, that the aggregates symbols is an IProcessImageAddress (and most probably IAdsSymbol) (Inherited from DynamicSymbol.) | |
|
Gets the Symbol Attributes (Inherited from DynamicSymbol.) | |
|
Gets the size of the IDataType in bits. (Inherited from DynamicSymbol.) | |
|
Gets the (aligned) size of of the Type/Instance in Bytes (Inherited from DynamicSymbol.) | |
|
Gets the category. (Inherited from DynamicSymbol.) | |
|
Gets the comment of the IInstance (Inherited from DynamicSymbol.) | |
|
Gets the connection bound to this DynamicSymbol (Inherited from DynamicSymbol.) | |
|
Gets the IDataType of the IInstance. (Inherited from DynamicSymbol.) | |
|
Gets a value indicating whether this instance has RPC methods (Inherited from DynamicInterfaceInstance.) | |
|
Gets a value indicating whether this instance has value (only the non VirtualInstances, what means the Symbols with locations). (Inherited from DynamicSymbol.) | |
|
Gets the name of the instance (without periods (.) (Inherited from DynamicSymbol.) | |
|
Gets the relative / absolute access path to the instance (with periods (.)) (Inherited from DynamicSymbol.) | |
|
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.) | |
|
Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0) (Inherited from DynamicSymbol.) | |
|
Gets a value indicating whether this Symbol is acontainer type. (Inherited from DynamicSymbol.) | |
|
Gets a value indicating whether this ISymbol is persistent. (Inherited from DynamicSymbol.) | |
|
Indicates that the IInstance represents a Pointer type (Pointer TO) (Inherited from DynamicSymbol.) | |
|
Gets a value indicating whether this instance is a primitive type. (Inherited from DynamicSymbol.) | |
|
Indicates that this instance is read only. (Inherited from DynamicSymbol.) | |
|
Gets a value indicating whether this instance is recursive. (Inherited from DynamicSymbol.) | |
|
Indicates that the IInstance represents a Reference type (REFERENCE TO) (Inherited from DynamicSymbol.) | |
|
Gets a value indicating whether this instance is static. (Inherited from DynamicSymbol.) | |
|
Gets the member instances of the Struct Instance. (Inherited from DynamicInterfaceInstance.) | |
|
Gets the normalized instance name (fixed name for dynamic property access that doesn't contain invalid characters), (Inherited from DynamicSymbol.) | |
|
Gets the notification settings. (Inherited from DynamicSymbol.) | |
|
Gets the parent Symbol (Inherited from DynamicSymbol.) | |
|
Gets the Method descriptions for the IRpcCallableType (Inherited from DynamicInterfaceInstance.) | |
|
Gets the size of the IInstance in bytes. (Inherited from DynamicSymbol.) | |
|
Gets the SubSymbols of the ISymbol (Inherited from DynamicSymbol.) | |
|
Gets the name of the DataType that is used for this IInstance. (Inherited from DynamicSymbol.) | |
|
Gets the value encoding. (Inherited from DynamicSymbol.) |
Methods
|
Name |
Description |
---|---|---|
|
Equals (Inherited from DynamicSymbol.) | |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Returns the enumeration of all dynamic member names. (Inherited from DynamicInterfaceInstance.) | |
|
Gets the HashCode of the Address (Inherited from DynamicSymbol.) | |
|
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.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
Invokes the specified RPC Method asynchronously (Inherited from DynamicInterfaceInstance.) | |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Handler function for reading ADS 'Any' Values. (Inherited from DynamicSymbol.) | |
|
Handler function for reading Raw symbol value. (Inherited from DynamicSymbol.) | |
|
Handler function reading the raw value of the DynamicSymbol. (Inherited from DynamicSymbol.) | |
|
Handler function for the (Inherited from DynamicSymbol.) | |
|
Handler function reading the DynamicSymbols value asynchronously. (Inherited from DynamicSymbol.) | |
|
Sets a new InstanceName InstancePath (Inherited from DynamicSymbol.) | |
|
Handler function for the (Inherited from DynamicSymbol.) | |
|
Handler Function for writing value. (Inherited from DynamicSymbol.) | |
|
Handler function for reading symbols raw value. (Inherited from DynamicSymbol.) | |
|
Handler function for writing the raw DynamicSymbol value. (Inherited from DynamicSymbol.) | |
|
Handler Function for writing value. (Inherited from DynamicSymbol.) | |
|
Handler Function for writing value. (Inherited from DynamicSymbol.) | |
|
Reads the value of this Value into a new created instance of the managed type (Inherited from DynamicSymbol.) | |
|
Reads the raw value of the IValueSymbol (Ads Read / Write) (Inherited from DynamicSymbol.) | |
|
Reads the Symbols raw value (Inherited from DynamicSymbol.) | |
|
Read raw value as an asynchronous operation. (Inherited from DynamicSymbol.) | |
|
Reads the value of this DynamicSymbol. (Inherited from DynamicSymbol.) | |
|
Reads the value of this DynamicSymbol. (Inherited from DynamicSymbol.) | |
|
Reads the Value of the IValueSymbol asynchronously. (Inherited from DynamicSymbol.) | |
|
Returns a String that represents this instance. (Inherited from DynamicSymbol.) | |
|
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.) |
|
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.) |
|
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.) |
|
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.) |
|
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.) |
|
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.) |
|
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.) | |
|
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.) |
|
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.) | |
|
Invokes the specified RPC Method (Inherited from DynamicInterfaceInstance.) | |
|
Invokes the specified RPC Method (Inherited from DynamicInterfaceInstance.) | |
|
Reads the Value of the IValueSymbol (Inherited from DynamicSymbol.) | |
|
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.) |
|
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.) | |
|
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.) |
|
Writes the specified value to the DynamicSymbol. (Inherited from DynamicSymbol.) | |
|
Reads the value of this Value into the specified managed value. (Inherited from DynamicSymbol.) | |
|
Writes the value represented by the managed value to this Value (Inherited from DynamicSymbol.) | |
|
Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from DynamicSymbol.) | |
|
Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from DynamicSymbol.) | |
|
Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from DynamicSymbol.) | |
|
Writes the specified value to the DynamicSymbol. (Inherited from DynamicSymbol.) | |
|
Writes the specified value to the DynamicSymbol. (Inherited from DynamicSymbol.) | |
|
Writes the Value of the IValueSymbol (Inherited from DynamicSymbol.) |
Events
|
Name |
Description |
---|---|---|
|
Occurs when the RawValue of the IValueSymbol has changed. (Inherited from DynamicSymbol.) | |
|
Occurs when the (Primitive) value of the IValueSymbol has changed. (Inherited from DynamicSymbol.) |
Extension Methods
|
Name |
Description |
---|---|---|
|
Indicates, that the Instance value includes process memory data, that cannot be read in one memory block. (Defined by DataTypeExtension.) |