GetStringUrl gets the localized string corresponding to the resourcekey

Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string GetStringUrl(
	string key,
	string resourceFileRoot
)
Visual Basic
Public Shared Function GetStringUrl ( 
	key As String,
	resourceFileRoot As String
) As String

Parameters

key
Type: System..::..String
The resourcekey to find
resourceFileRoot
Type: System..::..String
The Local Resource root

Return Value

The localized Text

Remarks

This function should be used to retrieve strings to be used on URLs. It is the same as GetString(name,ResourceFileRoot) method but it disables the ShowMissingKey flag, so even it testing scenarios, the correct string is returned

See Also