PrimitiveType Properties

The PrimitiveType type exposes the following members.

Properties

 

Name

Description

PrimitiveType Properties 1:

Attributes

Gets the attributes of the IDataType (Inherited from DataType.)

PrimitiveType Properties 2:

BitSize

Gets the size of the DataType in bits. (Inherited from DataType.)

PrimitiveType Properties 3:

ByteSize

Gets the (aligned) size of of the Type/Instance in Bytes (Inherited from DataType.)

PrimitiveType Properties 4:

Category

Gets the Data Type category (Inherited from DataType.)

PrimitiveType Properties 5:

Comment

Gets the comment. (Inherited from DataType.)

PrimitiveType Properties 6:

FullName

Gets the full name of the IDataType (Namespace + Name) (Inherited from DataType.)

PrimitiveType Properties 7:

Id

Gets the ID of the DataType (Inherited from DataType.)

PrimitiveType Properties 8:

IsBitType

Gets a value indicating whether this IDataType is a bit mapping Type (Inherited from DataType.)

PrimitiveType Properties 9:

IsByteAligned

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

PrimitiveType Properties 10:

ManagedType

Gets the corresponding .NET Type if attached. (Inherited from DataType.)

PrimitiveType Properties 11:

Name

Gets the name of the Data Type (without namespace) (Inherited from DataType.)

PrimitiveType Properties 12:

Namespace

Gets the namespace string within the IDataType exists. (Inherited from DataType.)

PrimitiveType Properties 13:

PrimitiveFlags

Indicates types of different PrimitiveTypes with flags.

PrimitiveType Properties 14:

Size

Gets the Size of the DataType in Bytes or bits. (Inherited from DataType.)

PrimitiveType Properties 15:

TypeGuid

Gets the Guid of the DataType (optional) (Inherited from DataType.)

Reference

PrimitiveType Class

TwinCAT.Ads.TypeSystem Namespace