DataType Properties

The DataType type exposes the following members.

Properties

 

Name

Description

DataType Properties 1:

Attributes

Gets the attributes of the IDataType

DataType Properties 2:

BitSize

Gets the size of the DataType in bits.

DataType Properties 3:

ByteSize

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

DataType Properties 4:

Category

Gets the Data Type category

DataType Properties 5:

Comment

Gets the comment.

DataType Properties 6:

FullName

Gets the full name of the IDataType (Namespace + Name)

DataType Properties 7:

Id

Gets the ID of the DataType

DataType Properties 8:

IsBitType

Gets a value indicating whether this IDataType is a bit mapping Type

DataType Properties 9:

IsByteAligned

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

DataType Properties 10:

ManagedType

Gets the corresponding .NET Type if attached.

DataType Properties 11:

Name

Gets the name of the Data Type (without namespace)

DataType Properties 12:

Namespace

Gets the namespace string within the IDataType exists.

DataType Properties 13:

Size

Gets the Size of the DataType in Bytes or bits.

DataType Properties 14:

TypeGuid

Gets the Guid of the DataType (optional)

Reference

DataType Class

TwinCAT.Ads.TypeSystem Namespace