Click or drag to resize

ISchemaContent Interface


An interface for managing the content of an item. This could be page, component, or schema's content.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface ISchemaContent : IEnumerable<ISchemaUnit>, 
	IEnumerable

The ISchemaContent type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of fields in this content item.
Public propertyID
Gets/sets the ID of the content item.
Public propertyIsComponent
Gets/sets if this is a component page or schema for a component page.
Public propertyItem
Gets one of this content item's fields by its index number.
Public propertyPageName
Gets/sets the name of the content item.
Public propertyPresentations
Gets/sets the schema's/pages presentations collection.
Public propertyRootName
Gets/sets the root name of the schema, which is also the root element name of this version's serialized XML document.
Public propertySourceContent
Gets the content from the source schema this item was based on.
Public propertyStylesheet
Gets/sets the entry XSLT style sheet name, located in the "xml/stylesheets" folder.
Public propertyViewName
Gets/sets the name of this content type's MVC view.
Top
Methods
  NameDescription
Public methodAdd
Add a field at the specified location.
Public methodClone
Clones this content.
Public methodHasField
Gets if a field with the specified ID exists in this content item.
Public methodRemove(Int32)
Removes one of this content item's fields by its index number.
Public methodRemove(String)
Removes one of this content item's fields by its unique ID.
Public methodReplace
Replace a field at the specified location. This is a combination of replace and content transfer. If the new field to add matches names in the current field list, transfer the content over to the replacement.
Public methodToSchemaFields
Gets a list of fields for this content item.
Top
See Also

Reference

IComponentEmbedSchemaContent