ISchemaFieldResultDeclaration Property
|
Gets the declaration element of the field
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax XElement Declaration { get; }
ReadOnly Property Declaration As XElement
Get
property XElement^ Declaration {
XElement^ get ();
}
abstract Declaration : XElement with get
Property Value
Type:
XElementRemarks
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