IEngineExtensionsLocalizeTEnum Method (IEngine, TEnum) |
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.4.0.1000)
Syntaxpublic static string Localize<TEnum>(
this IEngine engine,
TEnum enumValue
)
where TEnum : Enum
<ExtensionAttribute>
Public Shared Function Localize(Of TEnum As Enum) (
engine As IEngine,
enumValue As TEnum
) As String
public:
[ExtensionAttribute]
generic<typename TEnum>
where TEnum : Enum
static String^ Localize(
IEngine^ engine,
TEnum enumValue
)
[<ExtensionAttribute>]
static member Localize :
engine : IEngine *
enumValue : 'TEnum -> string when 'TEnum : Enum
Parameters
- engine
- Type: Dundas.BIIEngine
The engine context. - enumValue
- Type: TEnum
The enumeration value to retrieve localized string.
Type Parameters
- TEnum
- The enumeration type.
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