ScriptContextTryGetOrCreateField Method (String, ChoiceFieldItemType, FieldItem) |
Namespace: Compiled.EDD.Scripting
public bool TryGetOrCreateField( string fieldName, ChoiceFieldItemType choiceFieldItemType, out FieldItem outputField )
| Exception | Condition |
|---|---|
| Exception | Thrown when a matching field name exists but the choice type does not match the field type. |