IValueSymbol.ReadValue Method

Reads the Value of the IValueSymbol

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

Syntax

C#

Object ReadValue()

VB

Function ReadValue As Object

Field Value

Type: Object
The value.

Return Value

Type: Object
System.Object.

Remarks

Calling on primitive types, a call of this method will return the primitive value. On complex types (structures and arrays) it depends on the ISymbolLoader settings what will happen. In non dynamic modes: the raw byte Array will be returned, in dynamic mode: A Value will be created on the fly.

Reference

IValueSymbol Interface

ReadValue Overload

TwinCAT.TypeSystem Namespace