DataTypeExtension Class

Extends the IDataType interface with more sophisticated functions.

Inheritance Hierarchy

System.Object
  TwinCAT.TypeSystem.DataTypeExtension
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public static class DataTypeExtension

Methods

 

Name

Description

IsArrayOfPrimitives(IDataType)

Determines whether the dataType is an array of Primitives.

IsArrayOfPrimitives(IDataType, Boolean)

Determines whether the dataType is an array of Primitives.

IsContainer(DataTypeCategory)

Gets a value indicating whether this IDataType is a container type

IsContainer(IDataType)

Gets a value indicating whether this IDataType is a container type

IsContainer(IDataType, Boolean)

Gets a value indicating whether this IDataType is a container type

IsPointer(DataTypeCategory)

Gets a value indicating whether this IDataType is a pointer type

IsPointer(IDataType)

Gets a value indicating whether this IDataType is a pointer type

IsPrimitive(AdsDataTypeId)

Determines whether the specified type identifier is primitive.

IsPrimitive(DataTypeCategory)

Gets a value indicating whether this IDataType is primitive

IsPrimitive(IDataType)

Gets a value indicating whether this IDataType is primitive

IsPrimitive(IDataType, Boolean)

Gets a value indicating whether this IDataType is primitive

IsReference(DataTypeCategory)

Gets a value indicating whether this IDataType is a reference type

IsReference(IDataType)

Gets a value indicating whether this IDataType is a reference type

ReferencesExternalData(IDataType)

Indicates, that the Instance value includes process memory data, that cannot be read in one memory block.

ReferencesExternalData(IInstance)

Indicates, that the Instance value includes process memory data, that cannot be read in one memory block.

ResolvableAsPrimitive(IDataType)

Indicates, that this data type can be resolved as primitive or primmitive Array.

ResolvableAsPrimitive(IDataType, Boolean)

Indicates, that this data type can be resolved as primitive or primmitive Array.

Resolve(IDataType)

Resolves the specified data type for AliasReference

Resolve(IDataType, DataTypeResolveStrategy)

Resolves the specified strategy.

Reference

TwinCAT.TypeSystem Namespace