Symbol.ReadAnyValue Method (Type, Int32)

Reads the value of this Value into a new created instance of the managed type

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

Syntax

C#

public Object ReadAnyValue(
    Type managedType,
    int timeout
)

Parameters

managedType

Type: System.Type
The tp.

timeout

Type: System.Int32
The timeout in ms.

Return Value

Type: Object
Read value (System.Object).

Implements

IValueAnySymbol.ReadAnyValue(Type, Int32)

Reference

Symbol Class

ReadAnyValue Overload

TwinCAT.Ads.TypeSystem Namespace

IValueAnySymbol.WriteAnyValue(Object)

IValueAnySymbol.UpdateAnyValue(Object.)