Class PageHistory

PageHistory class

Represents the page history.

public class PageHistory : IList<Page>

Constructors

NameDescription
PageHistory(Page)Initializes a new instance of the PageHistory class.

Properties

NameDescription
Count { get; }Gets the count of the page versions in the page history.
Current { get; }Gets the current page version.
IsReadOnly { get; }Gets a value indicating whether the page history is read only.
Item { get; set; }Gets or sets the page version at the specified index of the PageHistory.

Methods

NameDescription
Add(Page)Adds the page version to the end of the PageHistory.
AddRange(IEnumerable<Page>)Adds the page versions to the end of the PageHistory.
Clear()Clears the page history.
Contains(Page)Determines whether the page history contains the page version.
CopyTo(Page[], int)Copies the page versions to an array, starting at the beginning.
GetEnumerator()Returns an enumerator that iterates through child nodes of the PageHistory.
IndexOf(Page)Determines the index of a specific page version in the page history.
Insert(int, Page)Inserts a page version into the page history.
Remove(Page)Removes the page version from the PageHistory.
RemoveAt(int)Removes the page version at the specified index of the PageHistory.
RemoveRange(int, int)Removes a range of the page versions from the PageHistory.

See Also