ILocalizationServiceGetString Method (Guid, String, CultureInfo, Object) |
Gets the string corresponding to the specified key.
Namespace:
Dundas.BI
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax string GetString(
Guid moduleId,
string key,
CultureInfo culture,
params Object?[] formatArgs
)
Function GetString (
moduleId As Guid,
key As String,
culture As CultureInfo,
ParamArray formatArgs As Object()
) As String
String^ GetString(
Guid moduleId,
String^ key,
CultureInfo^ culture,
... array<Object^>^ formatArgs
)
abstract GetString :
moduleId : Guid *
key : string *
culture : CultureInfo *
formatArgs : Object[] -> string
Parameters
- moduleId
- Type: SystemGuid
The ID of the module for which the string is registered. - key
- Type: SystemString
The key of the string to look up. - culture
- Type: System.GlobalizationCultureInfo
The culture for which to retrieve the strings. - 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 specified culture;
or
key if there was no corresponding string defined for
that culture (or any of its parent cultures).
Exceptions See Also