Processes request to add a new custom field enumeration value
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public ActionResult AddEnumeration( int id, string Name, string Title, string Value, bool Enabled, string returnUrl )
Parameters
- id
- Type: SystemInt32
ID of the custom field to which this enum will be assigned - Name
- Type: SystemString
Name of the enum to be added - Title
- Type: SystemString
Display name of the enum to be added - Value
- Type: SystemString
Value of the enum to be added - Enabled
- Type: SystemBoolean
Determines whether this enum if currently available for use - returnUrl
- Type: SystemString
the optional url to retain in the redirect url upon success
Return Value
Type: ActionResultRedirect to /Admin/EditField/[CustomFieldId]
See Also