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