Class TabCollection
Represents the collection of Tabs for a portal.
Inheritance
System.Object
TabCollection
Assembly: DotNetNuke.dll
Syntax
public class TabCollection : Dictionary<int, TabInfo>
Constructors
|
Improve this Doc
View Source
TabCollection()
Declaration
|
Improve this Doc
View Source
TabCollection(IEnumerable<TabInfo>)
Declaration
public TabCollection(IEnumerable<TabInfo> tabs)
Parameters
Type |
Name |
Description |
IEnumerable<TabInfo> |
tabs |
|
|
Improve this Doc
View Source
TabCollection(SerializationInfo, StreamingContext)
Declaration
public TabCollection(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
Methods
|
Improve this Doc
View Source
Add(TabInfo)
Represents the collection of Tabs for a portal.
Declaration
public void Add(TabInfo tab)
Parameters
|
Improve this Doc
View Source
AddRange(IEnumerable<TabInfo>)
Represents the collection of Tabs for a portal.
Declaration
public void AddRange(IEnumerable<TabInfo> tabs)
Parameters
Type |
Name |
Description |
IEnumerable<TabInfo> |
tabs |
|
|
Improve this Doc
View Source
AsList()
Represents the collection of Tabs for a portal.
Declaration
public List<TabInfo> AsList()
Returns
|
Improve this Doc
View Source
DescendentsOf(Int32, Int32)
Represents the collection of Tabs for a portal.
Declaration
public List<TabInfo> DescendentsOf(int tabId, int originalTabLevel)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.Int32 |
originalTabLevel |
|
Returns
|
Improve this Doc
View Source
DescendentsOf(Int32)
Represents the collection of Tabs for a portal.
Declaration
public List<TabInfo> DescendentsOf(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
Returns
|
Improve this Doc
View Source
IsDescendentOf(Int32, Int32)
Represents the collection of Tabs for a portal.
Declaration
public bool IsDescendentOf(int ancestorId, int testTabId)
Parameters
Type |
Name |
Description |
System.Int32 |
ancestorId |
|
System.Int32 |
testTabId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OnDeserialization(Object)
Represents the collection of Tabs for a portal.
Declaration
public override void OnDeserialization(object sender)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
|
Improve this Doc
View Source
ToArrayList()
Represents the collection of Tabs for a portal.
Declaration
public ArrayList ToArrayList()
Returns
Type |
Description |
ArrayList |
|
|
Improve this Doc
View Source
WithCulture(String, Boolean, Boolean)
Represents the collection of Tabs for a portal.
Declaration
public TabCollection WithCulture(string cultureCode, bool includeNeutral, bool localizationEnabled)
Parameters
Type |
Name |
Description |
System.String |
cultureCode |
|
System.Boolean |
includeNeutral |
|
System.Boolean |
localizationEnabled |
|
Returns
|
Improve this Doc
View Source
WithCulture(String, Boolean)
Represents the collection of Tabs for a portal.
Declaration
public TabCollection WithCulture(string cultureCode, bool includeNeutral)
Parameters
Type |
Name |
Description |
System.String |
cultureCode |
|
System.Boolean |
includeNeutral |
|
Returns
|
Improve this Doc
View Source
WithParentId(Int32)
Represents the collection of Tabs for a portal.
Declaration
public List<TabInfo> WithParentId(int parentId)
Parameters
Type |
Name |
Description |
System.Int32 |
parentId |
|
Returns
|
Improve this Doc
View Source
WithTabId(Int32)
Represents the collection of Tabs for a portal.
Declaration
public TabInfo WithTabId(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
Returns
|
Improve this Doc
View Source
WithTabName(String)
Represents the collection of Tabs for a portal.
Declaration
public TabInfo WithTabName(string tabName)
Parameters
Type |
Name |
Description |
System.String |
tabName |
|
Returns
|
Improve this Doc
View Source
WithTabNameAndParentId(String, Int32)
Represents the collection of Tabs for a portal.
Declaration
public TabInfo WithTabNameAndParentId(string tabName, int parentId)
Parameters
Type |
Name |
Description |
System.String |
tabName |
|
System.Int32 |
parentId |
|
Returns
Extension Methods