IReferenceInstance Interface

Interface representing an instance of an IReferenceType

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

Syntax

C#

public interface IReferenceInstance : ISymbol, 
    IAttributedInstance, IInstance, IBitSize

The IReferenceInstance type exposes the following members.

Properties

 

Name

Description

IReferenceInstance Interface 1:

Attributes

Gets the Type Attributes. (Inherited from IAttributedInstance.)

IReferenceInstance Interface 2:

BitSize

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

IReferenceInstance Interface 3:

ByteSize

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

IReferenceInstance Interface 4:

Category

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

IReferenceInstance Interface 5:

Comment

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

IReferenceInstance Interface 6:

DataType

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

IReferenceInstance Interface 7:

InstanceName

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

IReferenceInstance Interface 8:

InstancePath

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

IReferenceInstance Interface 9:

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

IReferenceInstance Interface 10:

IsByteAligned

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

IReferenceInstance Interface 11:

IsContainerType

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

IReferenceInstance Interface 12:

IsPersistent

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

IReferenceInstance Interface 13:

IsPointer

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

IReferenceInstance Interface 14:

IsPrimitiveType

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

IReferenceInstance Interface 15:

IsReadOnly

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

IReferenceInstance Interface 16:

IsRecursive

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

IReferenceInstance Interface 17:

IsReference

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

IReferenceInstance Interface 18:

IsStatic

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

IReferenceInstance Interface 19:

Parent

Gets the parent Symbol (Inherited from ISymbol.)

IReferenceInstance Interface 20:

ReferencedType

Gets the referenced type

IReferenceInstance Interface 21:

ResolvedByteSize

Get the ByteSize of the (completely) resolved Symbol

IReferenceInstance Interface 22:

ResolvedCategory

Gets the Category of the (completely) resolved Symbol.

IReferenceInstance Interface 23:

ResolvedType

Gets the (completely) resolved type

IReferenceInstance Interface 24:

Size

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

IReferenceInstance Interface 25:

SubSymbols

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

IReferenceInstance Interface 26:

TypeName

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

IReferenceInstance Interface 27:

ValueEncoding

Gets the value encoding. (Inherited from IAttributedInstance.)

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