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