SymbolReadAnyValue(Type, Int32) Method

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: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public Object ReadAnyValue(
    Type managedType,
    int timeout
)

Parameters

managedType  Type

The tp.

timeout  Int32

The timeout in ms.

Return Value

Object
Read value (System.Object).

Implements

IValueAnySymbolReadAnyValue(Type, Int32)

Reference

Symbol Class ReadAnyValue Overload TwinCAT.Ads.TypeSystem Namespace WriteAnyValue(Object) UpdateAnyValue(Object)

Beckhoff Automation GmbH & Co. KG 2001-2026