SumSymbolWrite.TryWrite Method

Writes the specified values.

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

Syntax

C#

public AdsErrorCode TryWrite(
    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 written values will be marshalled automatically to their appropriate ADS types.

Reference

SumSymbolWrite Class

TwinCAT.Ads.SumCommand Namespace

SumSymbolWrite.Write(.Object.)

SumSymbolWrite.WriteAsync(.Object., CancellationToken)