ITcHmiSrvExtHost.set_config_value Method

Adds an entry to a map or vector in the extension configuration or updates an existing configuration Value.

Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 1.10.1018.48 (1.10.1018.48)

Syntax

C#

public virtual ErrorValue set_config_value(
    Context ctx,
    string path,
    Value value
)

Parameters

ctx

Type: TcHmiSrv.Context
A Context containing information about the user who tries to get a configuration Value.

path

Type: System.String
The path of the Value to be set.

value

Type: TcHmiSrv.Value
The Value to be set or nullptr to delete the configuration Value at specified path.

Return Value

Type: ErrorValue
HMI_SUCCESS if setting the configuration Value succeeded; otherwise, any ErrorValue that best describes which error has occurred.

Reference

ITcHmiSrvExtHost Class

TcHmiSrv Namespace