EnumType<T> Properties

The EnumType<T> type exposes the following members.

Properties

 

Name

Description

EnumType<T> Properties 1:

Attributes

Gets the attributes of the IDataType
(Inherited from DataType)

EnumType<T> Properties 2:

BaseType

Gets the Base Type

EnumType<T> Properties 3:

BaseTypeName

Gets the BaseType name

EnumType<T> Properties 4:

BitSize

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

EnumType<T> Properties 5:

ByteSize

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

EnumType<T> Properties 6:

Category

Gets the Data Type category
(Inherited from DataType)

EnumType<T> Properties 7:

Comment

Gets the comment.
(Inherited from DataType)

EnumType<T> Properties 8:

EnumValues

Enumeration specification (if enum)

EnumType<T> Properties 9:

FullName

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

EnumType<T> Properties 10:

Id

Gets the ID of the DataType
(Inherited from DataType)

EnumType<T> Properties 11:

IsBitType

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

EnumType<T> Properties 12:

IsByteAligned

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

EnumType<T> Properties 13:

ManagedType

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

EnumType<T> Properties 14:

Name

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

EnumType<T> Properties 15:

Namespace

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

EnumType<T> Properties 16:

Size

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

EnumType<T> Properties 17:

TypeGuid

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

See Also

Reference

EnumType<T> Class TwinCAT.Ads.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026