LocalizationHelperReplaceCustomUILocalizationStrings Method

Replaces the custom UI localization strings. The expected format is that it's surrounded by $%$. For example: Hello $%$GS_Localized_String$%$.

Namespace:  Dundas.BI.Utility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public static string ReplaceCustomUILocalizationStrings(
	string content,
	Guid moduleId
)

Parameters

content
Type: SystemString
The content to replace the localization strings within.
moduleId
Type: SystemGuid
The ID of the module for localization string loading.

Return Value

Type: String
The replaced contents.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when regex input, or ILocalizationService.GetString argument is or empty.
ArgumentNullExceptionThrown when regex input is or empty.
RegexMatchTimeoutExceptionThrown when regex takes too long to process.
See Also