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

Syntax

C#

public void AddOrUpdate(
    string key,
    Value value
)

Parameters

key  String

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

value  Value

The Value to add or update.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

Value Class TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG