Class ClonePageParameters
Clone page parameters.
public sealed class ClonePageParameters
- Inheritance
-
objectClonePageParameters
- Extension Methods
Constructors
ClonePageParameters(int, string, string, string, bool)
Initializes a new instance of the ClonePageParameters class.
public ClonePageParameters(int webPageItemId, string languageName, string displayName, string urlSlug = null, bool cloneAllLanguageVariants = true)
Parameters
webPageItemIdintIdentifier of the web page to clone.
languageNamestringLanguage code name of the web page to clone.
displayNamestringDisplay name of the new web page.
urlSlugstringURL slug of the new web page.
cloneAllLanguageVariantsboolIndicates if all language variants should be cloned.
Properties
CloneAllLanguageVariants
Indicates if all language variants should be cloned.
public bool CloneAllLanguageVariants { get; }
Property Value
- bool
DisplayName
Display name of the new web page.
public string DisplayName { get; }
Property Value
- string
LanguageName
Language code name of the web page to clone.
public string LanguageName { get; }
Property Value
- string
UrlSlug
URL slug of the new web page.
public string UrlSlug { get; }
Property Value
- string
WebPageItemId
Identifier of the web page to clone.
public int WebPageItemId { get; }
Property Value
- int