IPageVersion Methods Ingeniux CMS Content Store API

The IPageVersion type exposes the following members.

Methods

  Name Description
Public method AddAttribute
Adds one or more Attributes to the ContentCollection. This method accepts variable number of Attribute objects as parameters.
(Inherited from IContentCollection.)
Public method AddAttributes
Adds a collection of Attributes to the Content Collection.
(Inherited from IContentCollection.)
Public method AddElement
Adds one or multiple elements to the Elements collection.
Public method AddElementAfter
Adds one or more elements to the Elements collection after the specified anchor element.
Public method AddElementBefore
Adds one or more elements to the Elements collection before a specified anchor element.
Public method AddElementFirst
Adds one or more elements to the front of the Elements collection.
Public method AddElements
Adds a group of elements to the Elements collection.
Public method AddElementsAfter
Adds a group of elements to the Elements collection after the specified anchor element.
Public method AddElementsBefore
Adds a group of elements to Elements collection before a specified anchor element.
Public method AddElementsFirst
Adds a group of elements to the front of the Elements collection.
Public method AllElements
Retrieves the collection of descendant Elements on which the filter callback method returns true.
Public method Attribute
Gets a specific Attribute by name
(Inherited from IContentCollection.)
Public method Attributes (Inherited from IContentCollection.)
Public method AttributesCount
Gets the count of Attributes in the ContentCollection.
(Inherited from IContentCollection.)
Public method AttributeValue
Gets the value of a specific Attribute by name.
(Inherited from IContentCollection.)
Public method ClearAttributes
Clears all Attributes from collection.
(Inherited from IContentCollection.)
Public method ClearElements
Removes all Elements from the collection.
Public method DOM
Retrieves the XML serialization of this page version. This is the same as the Serialize method.
Public method Element
Retrieves an Element by its name.
Public method ElementById
Retrieves an Element by its unique ID.
Public method Elements
Retrieves the direct child Elements of this page version.
Public method Elements(String)
Retrieves the direct child Elements of this page version with names that match the specified name. Case-sensitive.
Public method ElementsCount
Gets the count of all direct child Elements.
Public method MarkForPublish
Marks this page version for publish on the specified Publishing Target
Public method PresentationElement
Retrieves an Element that was added by its Presentation Content Unit by its unique ID. This method will not return elements that are outside of the presentation fields group.
Public method PresentationElements
Retrieves the direct child Elements of this page version that were added by its Presentation Content Unit,
Public method RemoveAttribute
Removes an Attribute from the collection.
(Inherited from IContentCollection.)
Public method RemoveElement
Removes an Element from the descendants collection.
Public method SetAttributeValue
Sets an Attribute's value. If the Attribute with the given name doesn't exist, this method creates it.
(Inherited from IContentCollection.)
Public method ValidateData
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.)
Public method ValidateUserPermission
Validates the user permission on the current entity. Implemented by concrete inheriting types. It is called automatically upon saving an entity.
(Inherited from IEntity.)
Top
See Also

Reference