IExportsElement Interface |
Namespace: Ingeniux.CMS
The IExportsElement type exposes the following members.
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.
|
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:
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>