AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

Enum<(Of <(<'T>)>)>..::..GetListItems Method

Returns a list of ListItems for the enumeration. Text is the description of the enumeration value, Value is the hash code of the enumeration value

Namespace:  AdvantageCMS.Core.Common.Extension
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static List<ListItem> GetListItems(
	string cultureCode
)

Parameters

cultureCode
Type: String
Optional culture code to get language specific description

Return Value

List<System.Web.UI.WebControls.ListItem>

Exceptions


ExceptionCondition
ArgumentExceptionT must be an enumerated type