Table of Contents

Class CopyPageInfo

Namespace
Dynamicweb.Content
Assembly
Dynamicweb.dll

The CopyPageInfo class carries the information needed to copy a page to another parent page

public class CopyPageInfo
Inheritance
CopyPageInfo
Inherited Members

Constructors

CopyPageInfo(int, int)

Initializes a new instance of the CopyPageInfo class used to provide information about how the system should copy a given page

public CopyPageInfo(int sourcePageId, int destinationParentPageId)

Parameters

sourcePageId int

The source id of the page to copy

destinationParentPageId int

The id of the page to which the page should be copied as a new child page

Properties

AreaID

Gets or sets the ID of the area to which the page should be copied

public int AreaID { get; set; }

Property Value

int

DestinationParentPageID

Gets the id of the page to which the page with the specified source id should be copied as a new child

public int DestinationParentPageID { get; }

Property Value

int

IncludeCopyOfParagraphs

Gets or sets a value indicating if paragraphs of the specified source page should be copied as well. Default is false

public bool IncludeCopyOfParagraphs { get; set; }

Property Value

bool

IncludeCopyOfSubpages

Gets or sets a value indicating if subpages of the specified source page should be copied as well. Default is false

public bool IncludeCopyOfSubpages { get; set; }

Property Value

bool

ItemType

Gets or sets the item type associated with the Page to copy

public string ItemType { get; set; }

Property Value

string

SourcePageID

Gets the id of the page to copy

public int SourcePageID { get; }

Property Value

int

UpdateCache

Gets or sets a value indicating if the cache should be updated. Default is true

public bool UpdateCache { get; set; }

Property Value

bool
To top