IBitSize Interface

Interface IBitSize

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public interface IBitSize

VB

Public Interface IBitSize

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

Remarks

Specifies the Bitness of the the object and the bit resp. byte sizes.

Reference

TwinCAT.TypeSystem Namespace