Gets the portal setting for a specific language (or neutral).
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string GetPortalSetting( string settingName, int portalID, string defaultValue, string cultureCode ) |
Visual Basic |
---|
Public Shared Function GetPortalSetting ( settingName As String, portalID As Integer, defaultValue As String, cultureCode As String ) As String |
Parameters
- settingName
- Type: System..::..String
Name of the setting.
- portalID
- Type: System..::..Int32
The portal ID.
- defaultValue
- Type: System..::..String
The default value.
- cultureCode
- Type: System..::..String
culture code of the language to retrieve (not empty)