Skip to main content
.NET Framework 4.6.2+

EnumDescriptor.GetCaption Method

Name Parameters Description
GetCaption(Int32) intValue Returns the display caption associated with a specified value of the enumeration represented by the EnumDescriptor.
GetCaption(Object) value Returns the display caption associated with a specified value of the enumeration represented by the EnumDescriptor.
GetCaption(String) valueName Returns the display caption associated with a specified value of the enumeration represented by the EnumDescriptor.