RecursiveResolveHandler.T..WriteElements Method (T., Queue.String., T, Boolean)

Writes the specified value at the specified elements to the current instance.

Namespace:  TcHmiSrv.Core.Tools.Resolving.Handlers
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public T WriteElements(
    ref T current,
    Queue<string> elements,
    T value,
    bool throwOnError
)

Parameters

current

Type: T.
An instance of the specified type to write to. If elements are empty, the value is written directly to this parameter.

elements

Type: System.Collections.Generic.Queue.String.
A Queue.T. that is used to determine the element to write.

value

Type: T
The Object to be written.

throwOnError

Type: System.Boolean
true to throw an Exception if writing the specified element failed; otherwise, false to return the value at which writing fails.

Return Value

Type: T
The new value of at the specified elements.

Reference

RecursiveResolveHandler.T. Class

WriteElements Overload

TcHmiSrv.Core.Tools.Resolving.Handlers Namespace