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: 9.0.565.0 (9.0.565)
Syntax
Parameters
- field
- Type: Ingeniux.CMSISchemaField
New schema field to add - insertPosition (Optional)
- Type: SystemInt32
Position at which to insert this field.. If missing, appends new field to end of collection.
Return Value
Type: Int32The index of the added field. If insertPosition is not specified, it will be the position of last field.
See Also