EDD Scripting | IChoiceFieldItem Interface
Interface to manage the choices on a FieldItem.
Syntax
C#
Copy
public interface IChoiceFieldItem
The IChoiceFieldItem type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ChoiceType | Gets the type of choice this field instance supports. |
Methods
| Name | Description | |
|---|---|---|
| AddValue(String[]) | Adds the given choice(s) to the list of choices. | |
| AddValue(String, Char) | Splits the value using the delimiter character and adds the unique choices to the list of choices. | |
| ClearValues | Remove all the choices in the choice list. | |
| DeleteValue | Removes the given choice from the list of choices. | |
| GetValues | Gets all the choices from the field. | |
| HasValues | Checks if the field has any choices. |
See Also
Reference
Compiled.EDD.Scripting Namespace