IEngineExtensionsLocalize 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 (24.3.0.1000)
Syntax public static string Localize(
this IEngine engine,
Type enumType,
Object value
)
<ExtensionAttribute>
Public Shared Function Localize (
engine As IEngine,
enumType As Type,
value As Object
) As String
public:
[ExtensionAttribute]
static String^ Localize(
IEngine^ engine,
Type^ enumType,
Object^ value
)
[<ExtensionAttribute>]
static member Localize :
engine : IEngine *
enumType : Type *
value : Object -> string
Parameters
- engine
- Type: Dundas.BIIEngine
The engine context. - enumType
- Type: SystemType
The enumeration type. - value
- Type: SystemObject
The enumeration value to retrieve localized string.
Return Value
Type:
StringThe 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