ISumRead.TryRead Method

Reads the specified symbols.

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

Syntax

C#

AdsErrorCode TryRead(
    out Object[]? values,
    out AdsErrorCode[]?? returnCodes
)

Parameters

values

Type: .System.Object..
The values.

returnCodes

Type: .TwinCAT.Ads.AdsErrorCode..
The return codes.

Return Value

Type: AdsErrorCode
AdsErrorCode.

Remarks

The returned values are automatically marshalled to their appropriate .NET types.

Reference

ISumRead Interface

TwinCAT.Ads.SumCommand Namespace

ISumRead.Read.

ISumRead.ReadAsync(CancellationToken)