ISearchSchemaExceptionAddField Method Ingeniux CMS Content Store API

Adds a new Field configuration entry to this Page type.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

void AddField(
	ISearchFieldException fieldException
)

Parameters

fieldException
Type: Ingeniux.CMSISearchFieldException
Field configuration entry to add to the collection
Exceptions

ExceptionCondition
ArgumentExceptionWhen given field name doesn't exist on Schema, another field exception with the same name already exists, or Schema no longer exists.
Remarks

If "fieldException" is null, does nothing.

If field with the given name doesn't exist on the Schema, error will be thrown.

If a field configuration entry for the same field name already exists, error will be thrown.

If the Schema this exception based on no longer exists, error will be thrown.

See Also

Reference

[!:Ingeniux.CMS.ISearchSchemaException.IncludeInGlobalSearchy]