ScriptContextCreateField Method (String, ChoiceFieldItemType) |
Namespace: Compiled.EDD.Scripting
public FieldItem CreateField( string fieldName, ChoiceFieldItemType choiceFieldItemType )
Exception | Condition |
---|---|
ArgumentNullException | Thrown if fieldName is null or empty. |
ArgumentException | Thrown if the fieldName already exists. |