• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class TabCollection

Represents the collection of Tabs for a portal.

Inheritance
System.Object
TabCollection
Namespace: DotNetNuke.Entities.Tabs
Assembly: DotNetNuke.dll
Syntax
public class TabCollection : Dictionary<int, TabInfo>

Constructors

| Improve this Doc View Source

TabCollection()

Initializes a new instance of the TabCollection class.

Declaration
public TabCollection()
| Improve this Doc View Source

TabCollection(IEnumerable<TabInfo>)

Initializes a new instance of the TabCollection class.

Declaration
public TabCollection(IEnumerable<TabInfo> tabs)
Parameters
Type Name Description
IEnumerable<TabInfo> tabs
| Improve this Doc View Source

TabCollection(SerializationInfo, StreamingContext)

Initializes a new instance of the TabCollection class.

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
Type Name Description
TabInfo tab
| 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
Type Description
List<TabInfo>
| 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
Type Description
List<TabInfo>
| 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
Type Description
List<TabInfo>
| 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
Type Description
TabCollection
| 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
Type Description
TabCollection
| 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
Type Description
List<TabInfo>
| 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
Type Description
TabInfo
| 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
Type Description
TabInfo
| 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
Type Description
TabInfo

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS