SumSymbolRead.TryRead Method

Tries to read the specified symbols.

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

Syntax

C#

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

VB

Public Function TryRead ( 
    <OutAttribute> ByRef 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 returned values are automatically marshalled to their appropriate .NET types.

Reference

SumSymbolRead Class

TwinCAT.Ads.SumCommand Namespace