IValueTryResolveValue Method
Tries to resolve 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#
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.