DynamicValue.ResolveValue Method

Resolves the Value object to its primitive value.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public Object ResolveValue(
    bool resolveEnumToPrimitive
)

VB

Public Function ResolveValue ( 
    resolveEnumToPrimitive As Boolean
) As Object

Parameters

resolveEnumToPrimitive

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

Return Value

Type: Object
System.Object.

Implements

IValue.ResolveValue(Boolean)

Remarks

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

Reference

DynamicValue Class

TwinCAT.TypeSystem Namespace