Table of Contents

Class CloneContentItemParameters

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Clone reusable content item parameters.

public sealed class CloneContentItemParameters
Inheritance
object
CloneContentItemParameters
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

contentItemId int

Identifier of the reusable content item to clone.

languageName string

Language code name of the reusable content item to clone.

displayName string

Display name of the new reusable content item.

cloneAllLanguageVariants bool

Indicates 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