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

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 Source

Add(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Extension Methods

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