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:

IsContainer

Gets a value indicating whether this IDataType is a container type

DataType Properties 11:

IsPointer

Gets a value indicating whether this IDataType is a pointer type

DataType Properties 12:

IsPrimitive

Gets a value indicating whether this IDataType is primitive

DataType Properties 13:

IsReference

Gets a value indicating whether this IDataType is a reference type

DataType Properties 14:

ManagedType

Gets the corresponding .NET Type if attached.

DataType Properties 15:

Name

Gets the name of the Data Type (without namespace)

DataType Properties 16:

Namespace

Gets the namespace string within the IDataType exists.

DataType Properties 17:

Size

Gets the Size of the DataType in Bytes

Reference

DataType Class

TwinCAT.Ads.TypeSystem Namespace