Gets a SystemMessage passing extra custom parameters to personalize.
Namespace: DotNetNuke.Services.LocalizationAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string GetSystemMessage( PortalSettings portalSettings, string messageName, string resourceFile, ArrayList custom ) |
Visual Basic |
---|
Public Shared Function GetSystemMessage ( portalSettings As PortalSettings, messageName As String, resourceFile As String, custom As ArrayList ) As String |
Parameters
- portalSettings
- Type: DotNetNuke.Entities.Portals..::..PortalSettings
The portal settings for the portal to which the message will affect.
- messageName
- Type: System..::..String
The message tag which identifies the SystemMessage.
- resourceFile
- Type: System..::..String
The root name of the Resource File where the localized text can be found
- custom
- Type: System.Collections..::..ArrayList
An ArrayList with replacements for custom tags.
Return Value
The message body with all tags replaced.
Remarks
Custom tags are of the form [Custom:n], where n is the zero based index which
will be used to find the replacement value in Custom parameter.