Retrieve caption/description for an enum value, derived from EnumDescription attribute.
Class: YetaWF.Core.Models.ObjectSupport
Namespace: YetaWF.Core.Models
Assembly: YetaWF.Core
public static string GetEnumDisplayInfo( object enumValue, out string?? description, bool ShowValue = false );
enumValue
The enum value.
description
Returns the description found in the EnumDescription attribute.
ShowValue
(not specified)
Returns the caption found in the EnumDescription attribute.
See Also YetaWF.Core.Models.ObjectSupport ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com