Methods | IScriptContext.CreateField(String, FieldItemType) Method
Creates a new field using the given FieldItemType.
Syntax
C#
Copy
FieldItem CreateField(
string fieldName
FieldItemType FieldType
)
Parameters
fieldName String
The name of the field to create.
FieldType FieldItemType
Type of the field.
Return Value
FieldItem
Field created; exception thrown if the name already exists.
See Also
Reference
IScriptContext Interface
CreateField Overload
FieldItem Class
Compiled.EDD.Scripting Namespace