IInstance Properties

The IInstance type exposes the following members.

Properties

 

Name

Description

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

Comment

Gets the comment of the IInstance

DataType

Gets the IDataType of the IInstance.

InstanceName

Gets the name of the instance (without periods (.)

InstancePath

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

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

IsPointer

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

IsReference

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

IsStatic

Gets a value indicating whether this IInstance is static.

Size

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

TypeName

Gets the name of the DataType that is used for this IInstance.

Reference

IInstance Interface

TwinCAT.TypeSystem Namespace