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
CopyParagraphs
Gets or sets a value indicating if paragraphs of the specified source page should be copied as well. Default is false
[Obsolete("Use IncludeCopyOfParagraphs")]
public bool CopyParagraphs { get; set; }
Property Value
CopySubPages
[Obsolete("Use IncludeCopyOfSubpages")]
public bool CopySubPages { get; set; }
Property Value
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
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
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
ItemType
Gets or sets the item type associated with the Page to copy
public string ItemType { get; set; }
Property Value
SourcePageID
Gets the id of the page to copy
public int SourcePageID { get; }
Property Value
UpdateCache
Gets or sets a value indicating if the cache should be updated. Default is true
public bool UpdateCache { get; set; }