get Module by specific locale

Namespace: DotNetNuke.Entities.Modules
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public ModuleInfo GetModuleByCulture(
	int ModuleId,
	int tabid,
	int portalId,
	Locale locale
)
Visual Basic
Public Function GetModuleByCulture ( 
	ModuleId As Integer,
	tabid As Integer,
	portalId As Integer,
	locale As Locale
) As ModuleInfo

Parameters

ModuleId
Type: System..::..Int32
ID of the module
tabid
Type: System..::..Int32
ID of the tab
portalId
Type: System..::..Int32
ID of the portal
locale
Type: DotNetNuke.Services.Localization..::..Locale
The wanted locale

Return Value

ModuleInfo associated to submitted locale

Implements

IModuleController..::..GetModuleByCulture(Int32, Int32, Int32, Locale)

See Also