Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.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.