• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

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 Source

ToKeyValuePairs(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.

  • View Source
Back to top by the community, for the community... #DNNCMS