Class UpdateContentItemParameters
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Parameters used for updating a content item language variant draft.
public sealed class UpdateContentItemParameters
- Inheritance
-
objectUpdateContentItemParameters
- Extension Methods
Constructors
UpdateContentItemParameters(int, string, ContentItemData)
Initializes a new instance of the UpdateContentItemParameters class.
public UpdateContentItemParameters(int contentItemId, string languageName, ContentItemData itemData)
Parameters
contentItemIdintIdentifier of the content item to update.
languageNamestringLanguage codename of the language variant to update.
itemDataContentItemDataUpdated content item data.
Exceptions
- ArgumentNullException
Thrown when
itemDatais null.- ArgumentException
Thrown when
languageNameis null or empty.
Properties
AiProvenance
AI provenance of the updated draft's fields, keyed by field GUID, replacing the stored provenance. An empty dictionary removes the provenance of all fields, null keeps the stored provenance unchanged.
public IReadOnlyDictionary<Guid, AiProvenance> AiProvenance { get; set; }
Property Value
- IReadOnlyDictionary<Guid, AiProvenance>
ContentItemID
Content item identifier.
public int ContentItemID { get; }
Property Value
- int
ItemData
Updated content item data.
public ContentItemData ItemData { get; }
Property Value
LanguageName
Language codename of the updated content item language variant.
public string LanguageName { get; }
Property Value
- string