DynamicValueTryResolveValue Method

Tries to 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 bool TryResolveValue(
    bool resolveEnumToPrimitive,
    out Object?? value
)

Parameters

resolveEnumToPrimitive  Boolean

if set to trueIEnumValues are resolved to their primitives also.

value  Object

The value.

Return Value

Boolean
true if value can be resolved, false otherwise.

Implements

IValueTryResolveValue(Boolean, Object)

Reference

DynamicValue Class TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026