.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

EnumDescriptor.GenerateDefaultCaptions Method

Name Parameters Description
GenerateDefaultCaptions(IModelLocalizationGroup, Type) static nodeGroup, enumType Generates LocalizationItem nodes corresponding to the values of an enumeration.
GenerateDefaultCaptions(IModelLocalizationGroup, Type, CompoundNameConvertStyle) static nodeGroup, enumType, compoundNameConvertStyle Generates LocalizationItem nodes corresponding to the values of an enumeration.