IAccessorValueFactory.CreateValue Method (ISymbol, ReadOnlySpan.Byte., IValue, 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,
    IValue parent,
    DateTimeOffset timeStamp
)

Parameters

symbol

Type: TwinCAT.TypeSystem.ISymbol
The symbol.

sourceData

Type: System.ReadOnlySpan.Byte.
The data.

parent

Type: TwinCAT.TypeSystem.IValue
The parent value

timeStamp

Type: System.DateTimeOffset
The time stamp.

Return Value

Type: Object
System.Object.

Remarks

The parent argument is used to organize values in hierarchies, equally to the corresponding symbol/instance trees.

Reference

IAccessorValueFactory Interface

CreateValue Overload

TwinCAT.ValueAccess Namespace