Class PageCollection
- Namespace
- Dynamicweb.Content
- Assembly
- Dynamicweb.dll
A collection of Page
public class PageCollection : Collection<Page>, IList<Page>, ICollection<Page>, IReadOnlyList<Page>, IReadOnlyCollection<Page>, IEnumerable<Page>, IList, ICollection, IEnumerable
- Inheritance
-
PageCollection
- Implements
- Inherited Members
- Extension Methods
Methods
RemoveDuplicates()
Removes dublicate pages in the collection - based on PageID
public void RemoveDuplicates()
RemovePageWithID(int)
Removes the page with ID.
public void RemovePageWithID(int id)
Parameters
id
intThe id.
Sort(SortBy)
Sorts the collection with the specified sort type.
public void Sort(PageCollection.SortBy sortType)
Parameters
sortType
PageCollection.SortByType of the sort.