IValueSymbol.WriteValue Method (Object)

Writes the Value of the IValueSymbol

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

Syntax

C#

void WriteValue(
    Object value
)

VB

Sub WriteValue ( 
    value As Object
)

Parameters

value

Type: System.Object
The value.

Remarks

Calling on primitive types, a call of this method will directly write this Value. On complex types (structs and arrays) it depends on the ISymbolLoader settings what will happen. In non dynamic modes: Only byte Arrays (of correct size) can be written) in dynamic mode: A Value that represents the value will be accepted also.

Reference

IValueSymbol Interface

WriteValue Overload

TwinCAT.TypeSystem Namespace