IEngineExtensionsLocalize Method (IEngine, String, Object)

Gets a localized Web string.

Namespace:  Dundas.BI.Web
Assembly:  Dundas.BI.Web.Core (in Dundas.BI.Web.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public static string Localize(
	this IEngine engine,
	string key,
	params Object[] formatArgs
)

Parameters

engine
Type: Dundas.BIIEngine
The engine context.
key
Type: SystemString
The key of the string.
formatArgs
Type: SystemObject
An object array that contains zero or more objects to format.

Return Value

Type: String
The string corresponding to key for the culture associated with the currently in-context Session; or key if there was no corresponding string defined for that culture (or any of its parent cultures).

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEngine. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also