Gets the name of the tab by name and parent id.

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

Syntax

C#
TabInfo GetTabByName(
	string tabName,
	int portalId,
	int parentId
)
Visual Basic
Function GetTabByName ( 
	tabName As String,
	portalId As Integer,
	parentId As Integer
) As TabInfo

Parameters

tabName
Type: System..::..String
Name of the tab.
portalId
Type: System..::..Int32
The portal id.
parentId
Type: System..::..Int32
The parent id.

Return Value

tab info

See Also