IAccessorValueFactory.CreateValue Method (ISymbol, ReadOnlySpan.Byte., DateTimeOffset)

Creates the symbols value from raw memory data

Namespace:  TwinCAT.ValueAccess
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.116+a71ced3

Syntax

C#

Object CreateValue(
    ISymbol symbol,
    ReadOnlySpan<byte> sourceData,
    DateTimeOffset timeStamp
)

Parameters

symbol

Type: TwinCAT.TypeSystem.ISymbol
The symbol.

sourceData

Type: System.ReadOnlySpan.Byte.
Memory data.

timeStamp

Type: System.DateTimeOffset
The timestamp of the memory data.

Return Value

Type: Object
The unmarshalled value object.

Reference

IAccessorValueFactory Interface

CreateValue Overload

TwinCAT.ValueAccess Namespace