Represents the collection of local export entries in Navigation and Link elements.
Defines an additional XML attribute to be included in a Page element's output.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The IExportsElement type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddExport |
Adds a new export entry to the collection.
| |
ClearExports |
Clears all export entries from collection.
This method leaves the collection empty.
| |
Exports |
Retrieves all exports entries in the collection.
| |
RemoveExport |
Removes an export entry from the collection.
| |
SetValue |
Sets all exports directly.
| |
Value |
Gets the entries' serialization output together, escaped as a string.
|
Examples
ExportsElement can be found by the LocalExports property of a Navigation element. Navigation and Link elements always have this property, which is never a null object:
C#
IExportsElement localExports = page.Element("AncestorNavigation").LocalExports.
Serialization output matches the Exports element under NavigationElements in previous-generation CMS content. The entries in the collection serialization output are escaped to a string.
<Exports><Export><Name>Title</Name><Value>/*/Title</Value></Export><Export><Name>Abstract</Name><Value>/*/Abstract</Value></Export></Exports>
See Also