Documentation for the C# command-line option parsing library

EnumDescriptorReader.GetEnumFieldDescriptions Method 

Gets all of the descriptions for the values in the given enumeration type.

public static string[] GetEnumFieldDescriptions(
   Type enumType


The enumeration type

Return Value

An array of the descriptions.


If a description attribute is not found, the enumeration field name will be returned as the description instead

See Also

EnumDescriptorReader Class | CommandLine.OptParse Namespace