ValueExtensionsTryResolveBy(Value, String, Value) Method

Resolves the current Value by the specified QueueT of elements. A return value indicates whether resolving succeeded.


Namespace: TcHmiSrv.Core.Extensions
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public static bool TryResolveBy(
    this Value value,
    string path,
    out Value result
)

Parameters

value  Value

The Value to resolve.

path  String

The path by which value should be resolved.

result  Value

When this method returns, contains the sub-Value of value resolved by path, if resolving succeeded, or the last Value at which resolving succeeded if resolving the entire path failed.

Return Value

Boolean
true if resolving value by path succeeded; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Value. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

ValueExtensions Class TryResolveBy Overload TcHmiSrv.Core.Extensions Namespace

Copyright © Beckhoff Automation GmbH & Co. KG