IValueAnySymbol.ReadAnyValue Method (Type, Int32)

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

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

Syntax

C#

Object ReadAnyValue(
    Type managedType,
    int timeout
)

VB

Function ReadAnyValue ( 
    managedType As Type,
    timeout As Integer
) As Object

Parameters

managedType

Type: System.Type
The tp.

timeout

Type: System.Int32
The timeout in ms.

Return Value

Type: Object
Read value (System.Object).

Reference

IValueAnySymbol Interface

ReadAnyValue Overload

TwinCAT.TypeSystem Namespace

IValueAnySymbol.WriteAnyValue(Object)

IValueAnySymbol.UpdateAnyValue(Object.)