IAccessorValueFactory.CreatePrimitiveValue Method

Creates a primitive value, independent of any settings.

Namespace:  TwinCAT.ValueAccess
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

Object CreatePrimitiveValue(
    ISymbol symbol,
    Memory<byte> sourceData,
    IValue? parent,
    DateTimeOffset timeStamp
)

Parameters

symbol

Type: TwinCAT.TypeSystem.ISymbol
The symbol.

sourceData

Type: System.Memory.Byte.
The source data.

parent

Type: TwinCAT.TypeSystem.IValue
The parent.

timeStamp

Type: System.DateTimeOffset
The time stamp.

Return Value

Type: Object
A primitive value.

Reference

IAccessorValueFactory Interface

TwinCAT.ValueAccess Namespace