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,
	PortalSettings portalSettings
)
Visual Basic
Public Shared Function GetString ( 
	key As String,
	portalSettings As PortalSettings
) As String

Parameters

key
Type: System..::..String
The resourcekey to find
portalSettings
Type: DotNetNuke.Entities.Portals..::..PortalSettings
The current portals Portal Settings

Return Value

The localized Text

See Also