Class ListEntryInfo
Represents one entry in the Dnn lists.
Inheritance
Namespace: DotNetNuke.Common.Lists
Assembly: DotNetNuke.dll
Syntax
public class ListEntryInfo : object
Constructors
| Improve this Doc View SourceListEntryInfo()
Initializes a new instance of the ListEntryInfo class.
Declaration
public ListEntryInfo()
Properties
| Improve this Doc View SourceDefinitionID
Gets or sets the id of the definition.
Declaration
public int DefinitionID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Description
Gets or sets the entry description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
Gets a display name for the entry which includes the list name and the text.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
EntryID
Gets or sets the id of the entry.
Declaration
public int EntryID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
HasChildren
Gets or sets a value indicating whether the entry has any children.
Declaration
public bool HasChildren { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Key
Gets a unique key for the entry.
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Level
Gets or sets the level (how deep in the hierarchy).
Declaration
public int Level { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ListName
Gets or sets the name of the list this entry belongs to.
Declaration
public string ListName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Parent
Gets or sets the parent entry.
Declaration
public string Parent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentID
Gets or sets the id of the parent entry.
Declaration
public int ParentID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ParentKey
Gets or sets the parent key.
Declaration
public string ParentKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PortalID
Gets or sets the id of the site (portal) this entry belongs to. Will be NullInteger if not scoped to any site.
Declaration
public int PortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SortOrder
Gets or sets an integer that dictates the sort order.
Declaration
public int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SystemList
Gets or sets a value indicating whether the entry is part of a system list.
Declaration
public bool SystemList { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Text
Gets or sets localized text value of the list entry item. An attempt is made to look up the key "[ParentKey].[Value].Text" in the resource file "App_GlobalResources/List_[ListName]". If not found the original (database) value is used.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | Localized text value. |
TextNonLocalized
Gets the text value bypassing localization.
Declaration
public string TextNonLocalized { get; }
Property Value
Type | Description |
---|---|
System.String | The text value of the list entry item as it was set originally. |
Value
Gets or sets the value of the entry.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |