IInstance Properties

The IInstance type exposes the following members.

Properties

 

Name

Description

IInstance Properties 1:

BitSize

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

IInstance Properties 2:

ByteSize

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

IInstance Properties 3:

Comment

Gets the comment of the IInstance

IInstance Properties 4:

DataType

Gets the IDataType of the IInstance.

IInstance Properties 5:

InstanceName

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

IInstance Properties 6:

InstancePath

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

IInstance Properties 7:

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

IInstance Properties 8:

IsByteAligned

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

IInstance Properties 9:

IsPointer

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

IInstance Properties 10:

IsReference

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

IInstance Properties 11:

IsStatic

Gets a value indicating whether this IInstance is static.

IInstance Properties 12:

Size

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

IInstance Properties 13:

TypeName

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

Reference

IInstance Interface

TwinCAT.TypeSystem Namespace