GetString gets the localized string corresponding to the resourcekey

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

Syntax

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

Parameters

key
Type: System..::..String
The resourcekey to find
resourceFileRoot
Type: System..::..String
The Resource File Name.

Return Value

The localized Text

See Also