DynamicSymbolsProvider.AddOrUpdate Method

Add a Symbol to the DynamicSymbolsProvider if the specified key does not already exist, or updates an existing Symbol of the DynamicSymbolsProvider.

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

Syntax

C#

public bool AddOrUpdate(
    string key,
    Symbol value
)

Parameters

key

Type: System.String
The key to be added or whose Symbol should be updated.

value

Type: TcHmiSrv.Core.Tools.DynamicSymbols.Symbol
The Value to add or update.

Return Value

Type: Boolean
true if value was added to the DynamicSymbolsProvider; false if an existing Symbol was updated with value.

Reference

DynamicSymbolsProvider Class

TcHmiSrv.Core.Tools.DynamicSymbols Namespace