Open this page in the API Guide

IEngineExtensions.Localize Method (IEngine, Type, Object)

Get a localized web string for particular enumeration value.

Namespace:  Dundas.BI.Web
Assembly:  Dundas.BI.Web.Core (in Dundas.BI.Web.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public static string Localize(
	this IEngine engine,
	Type enumType,
	Object value
)

Parameters

engine
Type: Dundas.BI.IEngine
The engine context.
enumType
Type: System.Type
The enumeration type.
value
Type: System.Object
The enumeration value to retrieve localized string.

Return Value

Type: String
The localized string of the enumeration.

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