TcHmiSrvExtHost.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: 3.0.0.0

Syntax

C#

public 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.

Implements

ITcHmiSrvExtHost.set_config_value(Context, String, Value)

Reference

TcHmiSrvExtHost Class

TcHmiSrv Namespace