SumSymbolWrite.TryWrite Method

Tries the write.

Namespace:  TwinCAT.Ads.SumCommand
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public AdsErrorCode TryWrite(
    Object[] values,
    out AdsErrorCode[] returnCodes
)

VB

Public Function TryWrite ( 
    values As Object(),
    <OutAttribute> ByRef returnCodes As AdsErrorCode()
) As AdsErrorCode

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