TcHmiLogger.Localize Method (ITcHmiSrvExtHost, Context, String, .String.)

Localizes a Message with the specified ITcHmiSrvExtHost, Context, name and parameters.

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

Syntax

C#

public static string Localize(
    ITcHmiSrvExtHost host,
    Context context,
    string name,
    params string[] parameters
)

Parameters

host

Type: TcHmiSrv.Core.ITcHmiSrvExtHost
The ITcHmiSrvExtHost that is used to localize the Message.

context

Type: TcHmiSrv.Core.Context
The Context of the Message to localize.

name

Type: System.String
The name of the Message to localize.

parameters

Type: .System.String.
The parameters of the Message to localize.

Return Value

Type: String
The localized String.

Reference

TcHmiLogger Class

Localize Overload

TcHmiSrv.Core.General Namespace