Value.AddOrUpdate Method

Adds a Value with the specified key to the Value if the key does not already exist, or updates a Value in the Value if the key already exists.

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

Syntax

C#

public void AddOrUpdate(
    string key,
    Value value
)

Parameters

key

Type: System.String
The String to use as the key of the Value to add or update.

value

Type: TcHmiSrv.Core.Value
The Value to add or update.

Reference

Value Class

TcHmiSrv.Core Namespace