November Happy Hour will be moved to Thursday December 5th.

Class PageVersion

Handles loading and listing of page versions

Inheritance
System.Object
PageVersion
Implements
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[Obsolete("Use ContentVersion")]
public class PageVersion : ContentVersion, IReadOnly

Constructors

PageVersion(PageReference, String, VersionStatus, DateTime, String, String, Int32)

Initializes a new instance of the PageVersion class.

Declaration
public PageVersion(PageReference pageID, string name, VersionStatus workStatus, DateTime saved, string savedBy, string statusChangedBy, int masterVersionID)
Parameters
Type Name Description
PageReference pageID

The page ID.

System.String name

The name of the version

VersionStatus workStatus

The status of the version

System.DateTime saved

The time the version was saved.

System.String savedBy

The person who saved the version

System.String statusChangedBy

The person who changed the page

System.Int32 masterVersionID

The master version ID for the page

PageVersion(PageReference, String, VersionStatus, DateTime, String, String, Int32, String, Boolean)

Initializes a new instance of the PageVersion class.

Declaration
public PageVersion(PageReference pageID, string name, VersionStatus workStatus, DateTime saved, string savedBy, string statusChangedBy, int masterVersionID, string languageBranch, bool isMasterLanguageBranch)
Parameters
Type Name Description
PageReference pageID

The page ID.

System.String name

The name of the version

VersionStatus workStatus

The status of the version

System.DateTime saved

The time the version was saved.

System.String savedBy

The person who saved the version

System.String statusChangedBy

The person who changed the page

System.Int32 masterVersionID

The master version ID for the page

System.String languageBranch

The language branch for the version

System.Boolean isMasterLanguageBranch

if set to true [is master language branch].

PageVersion(PageReference, String, VersionStatus, DateTime, String, String, Int32, String, Boolean, Boolean)

Initializes a new instance of the PageVersion class.

Declaration
public PageVersion(PageReference pageID, string name, VersionStatus workStatus, DateTime saved, string savedBy, string statusChangedBy, int masterVersionID, string languageBranch, bool isMasterLanguageBranch, bool commonDraft)
Parameters
Type Name Description
PageReference pageID

The page ID.

System.String name

The name.

VersionStatus workStatus

The work status.

System.DateTime saved

The saved.

System.String savedBy

The saved by.

System.String statusChangedBy

The status changed by.

System.Int32 masterVersionID

The master version ID.

System.String languageBranch

The language branch.

System.Boolean isMasterLanguageBranch

if set to true [is master language branch].

System.Boolean commonDraft

if set to true [common draft].

Implements

Extension Methods