ILocalizationServiceTryGetString(CultureInfo, Guid, String, String) Method |
Tries the get the localized string with the specified key for the specified culture.
Namespace: Dundas.BIAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxbool TryGetString(
CultureInfo culture,
Guid moduleId,
string key,
out string localizedString
)
Function TryGetString (
culture As CultureInfo,
moduleId As Guid,
key As String,
<OutAttribute> ByRef localizedString As String
) As Boolean
bool TryGetString(
CultureInfo^ culture,
Guid moduleId,
String^ key,
[OutAttribute] String^% localizedString
)
abstract TryGetString :
culture : CultureInfo *
moduleId : Guid *
key : string *
localizedString : string byref -> bool Parameters
- culture CultureInfo
- The culture for which to retrieve the string.
- moduleId Guid
- The ID of the module for which the strings are registered.
- key String
- When this method returns, contains the key of the string to look up.
- localizedString String
- The localized string.
Return Value
Boolean if a localized string was found for the specified culture or one
of its parent cultures; otherwise
.
Exceptions
See Also