ISchemaFieldResultDeclaration Property Ingeniux CMS Content Store API

Gets the declaration element of the field

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

XElement Declaration { get; }

Property Value

Type: XElement
Remarks

Attribute field output is always a standard data type with the "dt:type" attribute. Element field output can be standard "dt:type", or XPower type with an XPower prefix like "xpowercomponent_".
Examples

Depending whether the field is an attribute or an element, there are two types of declaration results:

Attribute field output:

<AttributeType name="Timeout" dt:type="string" default="8"/>

Element field output:

<ElementType name="Title" dt:type="string" content="textOnly"/>
<ElementType name="xpowernavigation_AncestorNavigation" content="eltOnly"/>
<ElementType name="xpowercomponent_SiteControl" content="eltOnly"/>
See Also

Reference