Class ListEntryInfoCollection
Represents a collection of list entries.
Inheritance
System.Object
ListEntryInfoCollection
Namespace: DotNetNuke.Common.Lists
Assembly: DotNetNuke.dll
Syntax
public class ListEntryInfoCollection : CollectionBase
Methods
| Improve this Doc View SourceAdd(String, ListEntryInfo)
Adds an entry to the collection.
Declaration
public void Add(string key, ListEntryInfo value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key of the entry. |
ListEntryInfo | value | The value of the entry. |
GetChildren(String)
Gets the children by its parent name.
Declaration
public ListEntryInfo GetChildren(string parentName)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentName | The name of the parent. |
Returns
Type | Description |
---|---|
ListEntryInfo | A single list entry. |
Item(Int32)
Gets the entry at the given index.
Declaration
public ListEntryInfo Item(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the entry to get. |
Returns
Type | Description |
---|---|
ListEntryInfo | A single entry. |
Item(String)
Gets the entry by its key.
Declaration
public ListEntryInfo Item(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key of the entry. |
Returns
Type | Description |
---|---|
ListEntryInfo | A single list entry. |