To the key value pairs.
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static List<KeyValuePair<int, string>> ToKeyValuePairs( this Enum enumType ) |
| Visual Basic |
|---|
<ExtensionAttribute> Public Shared Function ToKeyValuePairs ( enumType As Enum ) As List(Of KeyValuePair(Of Integer, String)) |
Parameters
- enumType
- Type: System..::..Enum
Type of the enum defined by GetType.