IValueResolveValue Method

Resolves the Value object to its primitive value.


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

Syntax

C#

Object ResolveValue(
    bool resolveEnumToPrimitive
)

Parameters

resolveEnumToPrimitive  Boolean

if set to trueIEnumValues are resolved to their primitives also.

Return Value

Object
System.Object.

Remarks

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

Reference

IValue Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026