Click or drag to resize

ISchemaCommonAddField Method


Adds a new schema field to the collection, either at the specified position or at the end.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
int AddField(
	ISchemaField field,
	int insertPosition = -1
)

Parameters

field  ISchemaField
New schema field to add
insertPosition  Int32  (Optional)
Position at which to insert this field.. If missing, appends new field to end of collection.

Return Value

Int32
The index of the added field. If insertPosition is not specified, it will be the position of last field.
See Also