DynamicRpcStructInstance Class

Dynamic struct instance with RPC Methods.

Inheritance Hierarchy

System.Object
  System.Dynamic.DynamicObject
    TwinCAT.TypeSystem.DynamicSymbol
      TwinCAT.TypeSystem.DynamicStructInstance
        TwinCAT.TypeSystem.DynamicRpcStructInstance
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public sealed class DynamicRpcStructInstance : DynamicStructInstance, 
    IRpcStructInstance, IStructInstance, ISymbol, IAttributedInstance, IInstance, 
    IBitSize, IRpcCallableInstance

VB

Public NotInheritable Class DynamicRpcStructInstance
    Inherits DynamicStructInstance
    Implements IRpcStructInstance, IStructInstance, ISymbol, IAttributedInstance, 
    IInstance, IBitSize, IRpcCallableInstance

The DynamicRpcStructInstance type exposes the following members.

Properties

 

Name

Description

DynamicRpcStructInstance Class 1:

_InnerSymbol

Inner symbol object wrapped by this DynamicSymbol (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 2:

AccessRights

Gets the access rights. (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 3:

Attributes

Gets the Symbol Attributes (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 4:

BitSize

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

DynamicRpcStructInstance Class 5:

ByteSize

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

DynamicRpcStructInstance Class 6:

Category

Gets the category. (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 7:

Comment

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

DynamicRpcStructInstance Class 8:

Connection

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

DynamicRpcStructInstance Class 9:

ContextMask

Gets the context mask. (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 10:

DataType

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

DynamicRpcStructInstance Class 11:

HasRpcMethods

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

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

DynamicRpcStructInstance Class 13:

InstanceName

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

DynamicRpcStructInstance Class 14:

InstancePath

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

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

DynamicRpcStructInstance Class 16:

IsByteAligned

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

DynamicRpcStructInstance Class 17:

IsContainerType

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

DynamicRpcStructInstance Class 18:

IsPersistent

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

DynamicRpcStructInstance Class 19:

IsPointer

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

DynamicRpcStructInstance Class 20:

IsPrimitiveType

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

DynamicRpcStructInstance Class 21:

IsReadOnly

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

DynamicRpcStructInstance Class 22:

IsRecursive

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

DynamicRpcStructInstance Class 23:

IsReference

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

DynamicRpcStructInstance Class 24:

IsStatic

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

DynamicRpcStructInstance Class 25:

MemberInstances

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

DynamicRpcStructInstance Class 26:

NormalizedName

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

DynamicRpcStructInstance Class 27:

NotificationSettings

Gets the notification settings. (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 28:

Parent

Gets the parent Symbol (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 29:

RpcMethods

Gets the Method descriptions for the IRpcCallableType

DynamicRpcStructInstance Class 30:

Size

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

DynamicRpcStructInstance Class 31:

SubSymbols

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

DynamicRpcStructInstance Class 32:

TypeName

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

Methods

 

Name

Description

DynamicRpcStructInstance Class 33:

Equals

Equals (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 34:

GetDynamicMemberNames

Gets the dynamic member names. (Overrides DynamicStructInstance.GetDynamicMemberNames..)

DynamicRpcStructInstance Class 35:

GetHashCode

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

DynamicRpcStructInstance Class 36:

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

DynamicRpcStructInstance Class 37:

GetType

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

DynamicRpcStructInstance Class 38:

DynamicRpcStructInstance Class 39:

InvokeRpcMethod

Invokes the specified method.

DynamicRpcStructInstance Class 40:

ReadAnyValue

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

DynamicRpcStructInstance Class 41:

ReadRawValue.

Reads the Symbols raw value (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 42:

ReadRawValue(Int32)

Reads the Symbols raw value (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 43:

ReadValue.

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

DynamicRpcStructInstance Class 44:

ReadValue(Int32)

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

DynamicRpcStructInstance Class 45:

ToString

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

DynamicRpcStructInstance Class 46:

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

DynamicRpcStructInstance Class 47:

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

DynamicRpcStructInstance Class 48:

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

DynamicRpcStructInstance Class 49:

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

DynamicRpcStructInstance Class 50:

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

DynamicRpcStructInstance Class 51:

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

DynamicRpcStructInstance Class 52:

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

DynamicRpcStructInstance Class 53:

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

DynamicRpcStructInstance Class 54:

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. (Overrides DynamicObject.TryInvokeMember(InvokeMemberBinder, .Object., Object.).)

DynamicRpcStructInstance Class 55:

TryInvokeRpcMethod(String, .Object., Object.)

Tries to invoke the specified method.

DynamicRpcStructInstance Class 56:

TryInvokeRpcMethod(IRpcMethod, .Object., Object.)

Tries to invoke the specified method.

DynamicRpcStructInstance Class 57:

TryReadValue

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

DynamicRpcStructInstance Class 58:

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

DynamicRpcStructInstance Class 59:

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 DynamicStructInstance.TrySetMember(SetMemberBinder, Object).)

DynamicRpcStructInstance Class 60:

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

DynamicRpcStructInstance Class 61:

DynamicRpcStructInstance Class 62:

TryWriteValue

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

DynamicRpcStructInstance Class 63:

UpdateAnyValue

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

DynamicRpcStructInstance Class 64:

WriteAnyValue

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

DynamicRpcStructInstance Class 65:

WriteRawValue(.Byte.)

Writes the Symbol raw Value (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 66:

WriteRawValue(.Byte., Int32)

Writes the Symbol raw Value (Inherited from DynamicSymbol.)

DynamicRpcStructInstance Class 67:

WriteValue(Object)

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

DynamicRpcStructInstance Class 68:

DynamicRpcStructInstance Class 69:

WriteValue(Object, Int32)

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

Events

 

Name

Description

DynamicRpcStructInstance Class 70:

RawValueChanged

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

DynamicRpcStructInstance Class 71:

ValueChanged

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

Reference

TwinCAT.TypeSystem Namespace

TwinCAT.TypeSystem.DynamicSymbol

TwinCAT.TypeSystem.IStructInstance

TwinCAT.TypeSystem.IRpcStructInstance

TwinCAT.TypeSystem.IRpcCallableInstance