AdsSymbolicServer.TryGetDataTypes Method

Tries to get the symbols from the device target.

Namespace:  TwinCAT.Ads.Server
Assembly:  TwinCAT.Ads.SymbolicServer (in TwinCAT.Ads.SymbolicServer.dll) Version: 6.0.328+39e3229

Syntax

C#

public AdsErrorCode TryGetDataTypes(
    out IDataTypeCollection<IDataType>? dataTypes
)

Parameters

dataTypes

Type: TwinCAT.TypeSystem.IDataTypeCollection.IDataType..
The data types.

Return Value

Type: AdsErrorCode
AdsErrorCode.

Implements

ISymbolServer.TryGetDataTypes(IDataTypeCollection.IDataType..)

Reference

AdsSymbolicServer Class

TwinCAT.Ads.Server Namespace