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