Adds a new list entry to the database. If the current thread locale is not "en-US" then the text value will also be persisted to a resource file under App_GlobalResources using the list's name and the value as key.

Namespace: DotNetNuke.Common.Lists
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public int AddListEntry(
	ListEntryInfo listEntry
)
Visual Basic
Public Function AddListEntry ( 
	listEntry As ListEntryInfo
) As Integer

Parameters

listEntry
Type: DotNetNuke.Common.Lists..::..ListEntryInfo
The list entry.

Return Value

returnsM:DotNetNuke.Common.Lists.ListController.AddListEntry(DotNetNuke.Common.Lists.ListEntryInfo)

See Also