IInterfaceInstance Interface

Interface representing an instance of a IInterfaceType

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public interface IInterfaceInstance : ISymbol, 
    IAttributedInstance, IInstance, IBitSize, IRpcCallableInstance

The IInterfaceInstance type exposes the following members.

Properties

 

Name

Description

Attributes

Gets the Type Attributes. (Inherited from IAttributedInstance.)

BitSize

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

ByteSize

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

Category

Gets the Symbol/Datatype Category (Inherited from ISymbol.)

Comment

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

DataType

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

HasRpcMethods

Gets a value indicating whether this instance has RPC methods

InstanceName

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

InstancePath

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

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

IsByteAligned

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

IsContainerType

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

IsPersistent

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

IsPointer

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

IsPrimitiveType

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

IsReadOnly

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

IsRecursive

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

IsReference

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

IsStatic

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

MemberInstances

Gets the member instances of the Struct Instance.

Parent

Gets the parent Symbol (Inherited from ISymbol.)

RpcMethods

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

Size

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

SubSymbols

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

TypeName

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

ValueEncoding

Gets the value encoding. (Inherited from IAttributedInstance.)

Methods

 

Name

Description

InvokeRpcMethod(String, .Object.)

Invokes the specified RPC Method (Inherited from IRpcCallableInstance.)

InvokeRpcMethod(String, .Object., .Object..)

Invokes the specified RPC Method (Inherited from IRpcCallableInstance.)

InvokeRpcMethodAsync

Invokes the specified RPC Method asynchronously (Inherited from IRpcCallableInstance.)

TryInvokeRpcMethod(String, .Object., Object.)

Invokes the specified RPC Method (Inherited from IRpcCallableInstance.)

TryInvokeRpcMethod(String, .Object., .Object.., Object.)

Invokes the specified RPC Method (Inherited from IRpcCallableInstance.)

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