IValue.ResolveValue Method

Resolves the Value object to its primitive value.

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

Syntax

C#

Object ResolveValue(
    bool resolveEnumToPrimitive
)

Parameters

resolveEnumToPrimitive

Type: System.Boolean
if set to trueIEnumValues are resolved to their primitives also.

Return Value

Type: Object
System.Object.

Remarks

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

Reference

IValue Interface

TwinCAT.TypeSystem Namespace