Table of Contents

Class ContentItemParameters

Namespace
CMS.Headless
Assembly
CMS.Headless.dll

Parameters needed to create a headless item.

public sealed class ContentItemParameters
Inheritance
object
ContentItemParameters
Extension Methods

Constructors

ContentItemParameters(string, ContentItemData)

Initializes a new instance of ContentItemParameters.

public ContentItemParameters(string contentItemType, ContentItemData contentItemData)

Parameters

contentItemType string

Content item type.

contentItemData ContentItemData

Type specific content item data.

Exceptions

ArgumentException

Thrown when contentItemType is null or empty string.

ArgumentNullException

Thrown when contentItemData is null.

Properties

ContentItemData

Type specific content item data. See ContentItemData.

public ContentItemData ContentItemData { get; }

Property Value

ContentItemData

ContentItemType

Content item type.

public string ContentItemType { get; }

Property Value

string