Initializes a new instance of the ListAttribute class.

Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public ListAttribute(
	string listName,
	string parentKey,
	ListBoundField valueField,
	ListBoundField textField
)
Visual Basic
Public Sub New ( 
	listName As String,
	parentKey As String,
	valueField As ListBoundField,
	textField As ListBoundField
)

Parameters

listName
Type: System..::..String
The name of the List to use for this property
parentKey
Type: System..::..String
The key of the parent for this List
valueField
Type: DotNetNuke.UI.WebControls..::..ListBoundField
Value Field.
textField
Type: DotNetNuke.UI.WebControls..::..ListBoundField
Text Field.

See Also