DataTypeCategory Enumeration

Category of a DataType / Instance


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public enum DataTypeCategory

Members

Member name

Value

Description

None

0

Uninitialized / NotProcessed (0)

Primitive

1

Simple / Base Data Type (1)

Alias

2

Alias data type (2)

Enum

3

Enumeration data type (3)

Array

4

Array data type (4)

Struct

5

Structure data type (5)

FunctionBlock

6

Function block (POU) (6)

Program

7

Program (POU) (7)

Function

8

Function (POU) (8)

SubRange

9

SubRange (9)

String

10

Fixed length string (10)

Bitset

12

Bitset (12)

Pointer

13

Pointer type (13)

Union

14

Union type (14)

Reference

15

Reference type (15)

Interface

16

The interface

The DataTypeCategory type exposes the following members.

Extension Methods

 

Name

Description

IsContainer

Gets a value indicating whether this IDataType is a container type
(Defined by DataTypeExtension)

IsPointer

Gets a value indicating whether this IDataType is a pointer type
(Defined by DataTypeExtension)

IsPrimitive

Gets a value indicating whether this IDataType is primitive
(Defined by DataTypeExtension)

IsReference

Gets a value indicating whether this IDataType is a reference type
(Defined by DataTypeExtension)

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026