Class ListInfoCollection
Represents a collection of ListInfo.
Inheritance
System.Object
ListInfoCollection
Namespace: DotNetNuke.Common.Lists
Assembly: DotNetNuke.dll
Syntax
public class ListInfoCollection : CollectionBase
Methods
| Improve this Doc View SourceAdd(String, Object)
Adds a list to the collection.
Declaration
public void Add(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key of the list. |
System.Object | value | The value of the object. |
GetChild(String)
Gets the child for a parent key.
Declaration
public ArrayList GetChild(string parentKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentKey | The parent key. |
Returns
Type | Description |
---|---|
ArrayList | An ArrayList of ListInfo. |
GetChildren(String)
Gets the children from a parent name.
Declaration
public ListInfo GetChildren(string parentName)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentName | The name of the parent. |
Returns
Type | Description |
---|---|
ListInfo | A ListInfo. |
Item(Int32)
Gets the item at the specified index.
Declaration
public object Item(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the item to get. |
Returns
Type | Description |
---|---|
System.Object | The item. |
Item(String, Boolean)
Gets a single list.
Declaration
public object Item(string key, bool cache)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key to fetch the list. |
System.Boolean | cache | A value indicating whether to cache this list. |
Returns
Type | Description |
---|---|
System.Object | A list object. |
Item(String)
Gets a list from a spedific key.
Declaration
public object Item(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key to fetch the list. |
Returns
Type | Description |
---|---|
System.Object | A single list. |