ILocalizationServiceTryGetString Method (CultureInfo, Guid, String, Object, String) | 
 
            Tries the get the localized string with the specified key for the specified culture.
            
 
    Namespace: 
   Dundas.BI
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxbool TryGetString(
	CultureInfo culture,
	Guid moduleId,
	string key,
	Object?[]? formatArgs,
	out string localizedString
)
Function TryGetString ( 
	culture As CultureInfo,
	moduleId As Guid,
	key As String,
	formatArgs As Object(),
	<OutAttribute> ByRef localizedString As String
) As Boolean
bool TryGetString(
	CultureInfo^ culture, 
	Guid moduleId, 
	String^ key, 
	array<Object^>^ formatArgs, 
	[OutAttribute] String^% localizedString
)
abstract TryGetString : 
        culture : CultureInfo * 
        moduleId : Guid * 
        key : string * 
        formatArgs : Object[] * 
        localizedString : string byref -> bool 
Parameters
- culture
 - Type: System.GlobalizationCultureInfo
The culture for which to retrieve the string. - moduleId
 - Type: SystemGuid
The ID of the module for which the strings are registered. - key
 - Type: SystemString
When this method returns, contains the key of the string to look up. - formatArgs
 - Type: SystemObject
An object array that contains zero or more objects to format (may be ). - localizedString
 - Type: SystemString
The localized string. 
Return Value
Type: 
Boolean if a localized string was found for the specified culture or one
            of its parent cultures; otherwise 
.
            
Exceptions
See Also