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

IBitSize Interface 1:

BitSize

Gets the size of the IDataType in bits.

IBitSize Interface 2:

ByteSize

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

IBitSize Interface 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 Interface 4:

IsByteAligned

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

IBitSize Interface 5:

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