Gets the name of the tab by name.
Namespace: DotNetNuke.Entities.TabsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public TabInfo GetTabByName( string tabName, int portalId ) |
| Visual Basic |
|---|
Public Function GetTabByName ( tabName As String, portalId As Integer ) As TabInfo |
Parameters
- tabName
- Type: System..::..String
Name of the tab.
- portalId
- Type: System..::..Int32
The portal id.