SumSymbolRead.TryRead Method

Reads the specified symbols.

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

Syntax

C#

public 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.

Implements

ISumRead.TryRead(.Object.., .AdsErrorCode..)

Remarks

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

Reference

SumSymbolRead Class

TwinCAT.Ads.SumCommand Namespace

SumSymbolRead.Read.

SumSymbolRead.ReadAsync(CancellationToken)