AdsClientReadDataType Method

Reads/Determines the DataType Inforrmation with the specifed name.


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

Syntax

C#

public IDataType ReadDataType(
    string typeName
)

Parameters

typeName  String

Name of the data type (without namespace)

Return Value

IDataType
An containing the requested type.

Implements

IAdsSymbolicAccessReadDataType(String)

Exceptions

Exception

Condition

ArgumentOutOfRangeException

typeName

ObjectDisposedException

ClientNotConnectedException

Reference

AdsClient Class TwinCAT.Ads Namespace TryReadDataType(String, IDataType) ReadDataTypeAsync(String, CancellationToken)

Beckhoff Automation GmbH & Co. KG 2001-2026