ResolveHandlerTWriteElements Method

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: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

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

Parameters

current  T

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

elements  QueueString

A QueueT that is used to determine the element to write.

value  Object

The Object to be written.

converter  Converter

A Converter that is used to convert value to an instance of the Type associated with the element specified by elements.

throwOnError  Boolean

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

Return Value

T
The new value of at the specified elements.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

ResolveHandlerT Class TcHmiSrv.Core.Tools.Resolving.Handlers Namespace

Copyright © Beckhoff Automation GmbH & Co. KG