Resolver.T..WriteElement Method (Object, String, Object, Converter)

Writes the specified Object to the specified element of the current Object.

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

Syntax

C#

public override sealed Object WriteElement(
    Object current,
    string element,
    Object value,
    Converter converter
)

Parameters

current

Type: System.Object
The current Object to write to.

element

Type: System.String
The name of the element to write.
If this parameter is null, value should be written directly to current.

value

Type: System.Object
The Object to be written.

converter

Type: TcHmiSrv.Core.Tools.Resolving.Converter
A Converter that is used to convert value to an instance of the Type associated with the specified element.

Return Value

Type: Object
The new value of the specified element.

Reference

Resolver.T. Class

WriteElement Overload

TcHmiSrv.Core.Tools.Resolving.Resolvers Namespace