IBitSize Properties

The IBitSize type exposes the following members.

Properties

 

Name

Description

BitSize

Gets the size of the IDataType in bits.

ByteSize

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

IsBitType

Gets a value indicating whether this instance is not basing on a full DataType but instead of some sort of bit mapping

IsByteAligned

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

Size

Gets the size of the object in bytes or Bits dependant on IsBitType

Reference

IBitSize Interface

TwinCAT.TypeSystem Namespace