Class CloneContentItemParameters
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Clone reusable content item parameters.
public sealed class CloneContentItemParameters
- Inheritance
-
objectCloneContentItemParameters
- Extension Methods
Constructors
CloneContentItemParameters(int, string, string, bool)
Initializes a new instance of the CloneContentItemParameters class.
public CloneContentItemParameters(int contentItemId, string languageName, string displayName, bool cloneAllLanguageVariants = true)
Parameters
contentItemIdintIdentifier of the reusable content item to clone.
languageNamestringLanguage code name of the reusable content item to clone.
displayNamestringDisplay name of the new reusable content item.
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
ContentItemId
Identifier of the reusable content item to clone.
public int ContentItemId { get; }
Property Value
- int
DisplayName
Display name of the new reusable content item.
public string DisplayName { get; }
Property Value
- string
LanguageName
Language code name of the reusable content item to clone.
public string LanguageName { get; }
Property Value
- string