Open this page in the API Guide

LocalizationHelper.ReplaceCustomUILocalizationStrings 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 (25.1.0.1000)
Syntax
public static string ReplaceCustomUILocalizationStrings(
	string content,
	Guid moduleId
)

Parameters

content
Type: System.String
The content to replace the localization strings within.
moduleId
Type: System.Guid
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 null or empty.
ArgumentNullExceptionThrown when regex input is null or empty.
RegexMatchTimeoutExceptionThrown when regex takes too long to process.
See Also