# Class DropdownValue OptimaJet.Workflow.Core.Model.DropdownValue Represents a selectable option for a [ParameterType.Dropdown](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ParameterType/) or [ParameterType.MultiSelect](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ParameterType/) parameter. Namespace: [OptimaJet.Workflow.Core.Model](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/) ```csharp public class DropdownValue ``` ## Constructors `public DropdownValue()` Initializes a new [DropdownValue](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/) for property-based initialization. `public DropdownValue(KeyValuePair pair)` Initializes a new [DropdownValue](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/) from a [KeyValuePair](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2). ### Parameters | Name | Type | Description | | --- | --- | --- | | `pair` | `KeyValuePair` | The `pair` whose key initializes [DropdownValue.Name](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/) and whose value initializes [DropdownValue.Value](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/). | `public DropdownValue(string name)` Initializes a new [DropdownValue](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/) whose name and value are identical. ### Parameters | Name | Type | Description | | --- | --- | --- | | `name` | `String` | The option label and parameter value assigned to [DropdownValue.Name](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/) and [DropdownValue.Value](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/), respectively. | `public DropdownValue(string name, string value)` Initializes a new [DropdownValue](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/) with the specified display name and parameter value. ### Parameters | Name | Type | Description | | --- | --- | --- | | `name` | `String` | The option label stored in [DropdownValue.Name](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/). | | `value` | `String` | The parameter value stored in [DropdownValue.Value](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/). | ## Properties `public string Name { get; set; }` Gets or sets the option label displayed in the parameter editor. `public string Value { get; set; }` Gets or sets the parameter value associated with the option. ## Methods `public DropdownValue Clone()` Creates a shallow copy of this option. ### Returns | Type | Description | | --- | --- | | `DropdownValue` | A new [DropdownValue](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/) with the same [DropdownValue.Name](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/) and [DropdownValue.Value](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DropdownValue/). | [Previous DesignerSettings](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DesignerSettings/) [Next DynamicParameter](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/DynamicParameter/)