Click or drag to resize

IScriptContextCreateField(String, FieldItemType) Method

Creates a new field using the given FieldItemType.

Namespace: Compiled.EDD.Scripting
Assembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntax
C#
FieldItem CreateField(
	string fieldName,
	FieldItemType fieldType
)

Parameters

fieldName  String
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