Symbol.OnTryWriteValue Method

Handler function for writing the dynamic value

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

Syntax

C#

protected virtual int OnTryWriteValue(
    Object value,
    int timeout
)

VB

Protected Overridable Function OnTryWriteValue ( 
    value As Object,
    timeout As Integer
) As Integer

Parameters

value

Type: System.Object
The value.

timeout

Type: System.Int32
The timeout.

Return Value

Type: Int32

Exceptions

Exception

Condition

CannotAccessVirtualSymbolException

AdsSymbolException

Reference

Symbol Class

TwinCAT.Ads.TypeSystem Namespace