DynamicValueResolveValue Method

Resolves the Value object to its primitive value.


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public Object ResolveValue(
    bool resolveEnumToPrimitive
)

Parameters

resolveEnumToPrimitive  Boolean

if set to trueIEnumValues are resolved to their primitives also.

Return Value

Object
System.Object.

Implements

IValueResolveValue(Boolean)

Remarks

If the value is not primitive, this method returns the IValue itself.

Reference

DynamicValue Class TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026