AdsClient.ReadDataType Method

Call this method to obtain information about the specified data type.

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

Syntax

C#

public IDataType ReadDataType(
    string typeName
)

Parameters

typeName

Type: System.String
Name of the data type (without namespace)

Return Value

Type: IDataType
An containing the requested type.

Implements

IAdsSymbolicAccess.ReadDataType(String)

Exceptions

Exception

Condition

ArgumentOutOfRangeException

typeName

ObjectDisposedException

ClientNotConnectedException

Reference

AdsClient Class

TwinCAT.Ads Namespace

IAdsSymbolicAccess.TryReadDataType(String, IDataType.)

IAdsSymbolicAccess.ReadDataTypeAsync(String, CancellationToken)