IRpcStructInstance Interface

Note: This API is now obsolete.

Interface IRpcStructInstance


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

[ObsoleteAttribute("Use IStructInstance instead!")]
public interface IRpcStructInstance : IStructInstance, 
    IInterfaceInstance, ISymbol, IAttributedInstance, IInstance, IBitSize, 
    IRpcCallableInstance

The IRpcStructInstance type exposes the following members.

Properties

 

Name

Description

IRpcStructInstance Interface 1:

Attributes

Gets the Type Attributes.
(Inherited from IAttributedInstance)

IRpcStructInstance Interface 2:

BitSize

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

IRpcStructInstance Interface 3:

ByteSize

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

IRpcStructInstance Interface 4:

Category

Gets the Symbol/Datatype Category
(Inherited from ISymbol)

IRpcStructInstance Interface 5:

Comment

Gets the comment of the IInstance
(Inherited from IInstance)

IRpcStructInstance Interface 6:

DataType

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

IRpcStructInstance Interface 7:

HasRpcMethods

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

IRpcStructInstance Interface 8:

InstanceName

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

IRpcStructInstance Interface 9:

InstancePath

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

IRpcStructInstance Interface 10:

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

IRpcStructInstance Interface 11:

IsByteAligned

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

IRpcStructInstance Interface 12:

IsContainerType

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

IRpcStructInstance Interface 13:

IsPersistent

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

IRpcStructInstance Interface 14:

IsPointer

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

IRpcStructInstance Interface 15:

IsPrimitiveType

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

IRpcStructInstance Interface 16:

IsProperty

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

IRpcStructInstance Interface 17:

IsReadOnly

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

IRpcStructInstance Interface 18:

IsRecursive

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

IRpcStructInstance Interface 19:

IsReference

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

IRpcStructInstance Interface 20:

IsStatic

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

IRpcStructInstance Interface 21:

MemberInstances

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

IRpcStructInstance Interface 22:

Parent

Gets the parent Symbol
(Inherited from ISymbol)

IRpcStructInstance Interface 23:

RpcMethods

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

IRpcStructInstance Interface 24:

Size

Gets the size of the object in bytes or Bits dependant on IsBitType
(Inherited from IBitSize)

IRpcStructInstance Interface 25:

SubSymbols

Gets the SubSymbols of the ISymbol
(Inherited from ISymbol)

IRpcStructInstance Interface 26:

TypeName

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

IRpcStructInstance Interface 27:

ValueEncoding

Gets the value encoding.
(Inherited from IAttributedInstance)

Methods

 

Name

Description

IRpcStructInstance Interface 28:

IRpcStructInstance Interface 29:

InvokeRpcMethod(String, Object)

Invokes the specified RPC Method
(Inherited from IRpcCallableInstance)

IRpcStructInstance Interface 30:

IRpcStructInstance Interface 31:

InvokeRpcMethod(String, Object, Object)

Invokes the specified RPC Method
(Inherited from IRpcCallableInstance)

IRpcStructInstance Interface 32:

IRpcStructInstance Interface 33:

InvokeRpcMethodAsync

Invokes the specified RPC Method asynchronously
(Inherited from IRpcCallableInstance)

IRpcStructInstance Interface 34:

IRpcStructInstance Interface 35:

TryInvokeRpcMethod(String, Object, Object)

Invokes the specified RPC Method
(Inherited from IRpcCallableInstance)

IRpcStructInstance Interface 36:

IRpcStructInstance Interface 37:

TryInvokeRpcMethod(String, Object, Object, Object)

Invokes the specified RPC Method
(Inherited from IRpcCallableInstance)

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 IStructInstance IRpcCallableInstance

Beckhoff Automation GmbH & Co. KG 2001-2026