ISymbolServer.DataTypes Property

Gets the data types

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

Syntax

C#

IDataTypeCollection<IDataType> DataTypes { get; }

Property Value

Type: IDataTypeCollection.IDataType.
The data types.

Remarks

This property reads the DataTypes synchronously, if the data is not available yet. For performance reasons, the asynchronous counterpart GetDataTypesAsync(CancellationToken) should be preferred for the first call.

Reference

ISymbolServer Interface

TwinCAT.TypeSystem Namespace

ISymbolServer.GetDataTypesAsync(CancellationToken)