Class ContentItemParameters
Parameters needed to create a headless item.
public sealed class ContentItemParameters
- Inheritance
-
objectContentItemParameters
- Extension Methods
Constructors
ContentItemParameters(string, ContentItemData)
Initializes a new instance of ContentItemParameters.
public ContentItemParameters(string contentItemType, ContentItemData contentItemData)
Parameters
contentItemType
stringContent item type.
contentItemData
ContentItemDataType 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
ContentItemType
Content item type.
public string ContentItemType { get; }
Property Value
- string