IBitSize Properties

The IBitSize type exposes the following members.

Properties

 

Name

Description

IBitSize Properties 1:

BitSize

Gets the size of the IDataType in bits.

IBitSize Properties 2:

ByteSize

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

IBitSize Properties 3:

IsBitType

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

IBitSize Properties 4:

IsByteAligned

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

IBitSize Properties 5:

Size

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

Reference

IBitSize Interface

TwinCAT.TypeSystem Namespace