Skip to main content
.NET 8.0+

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.