Gets the name of the tab by name and parent id.
Namespace: DotNetNuke.Entities.TabsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public TabInfo GetTabByName( string tabName, int portalId, int parentId ) |
| Visual Basic |
|---|
Public 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.