Table of Contents

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 int

The id.

Sort(SortBy)

Sorts the collection with the specified sort type.

public void Sort(PageCollection.SortBy sortType)

Parameters

sortType PageCollection.SortBy

Type of the sort.

To top