Class EnumExtensions
Extensions for enumeration of KeyValue Paire.
Inheritance
System.Object
EnumExtensions
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public static class EnumExtensions : object
Methods
| Improve this Doc View SourceToKeyValuePairs(Enum)
To the key value pairs.
Declaration
public static List<KeyValuePair<int, string>> ToKeyValuePairs(this Enum enumType)
Parameters
Type | Name | Description |
---|---|---|
Enum | enumType | Type of the enum defined by GetType. |
Returns
Type | Description |
---|---|
List<KeyValuePair<System.Int32, System.String>> | A list of Key Value pairs. |