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: 4.3.0.0

Syntax

C#

public Object ReadAnyValue(
    Type managedType,
    int timeout
)

VB

Public 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).

Implements

IValueAnySymbol.ReadAnyValue(Type, Int32)

Reference

Symbol Class

ReadAnyValue Overload

TwinCAT.Ads.TypeSystem Namespace

IValueAnySymbol.WriteAnyValue(Object)

IValueAnySymbol.UpdateAnyValue(Object.)