Class ContentTypeSaveOptions
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Describes the type of action to perform when saving a content type item.
Inheritance
System.Object
ContentTypeSaveOptions
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class ContentTypeSaveOptions : Object
Constructors
ContentTypeSaveOptions()
Declaration
public ContentTypeSaveOptions()
Properties
AllowedDowngrades
Gets or sets what kind of downgrade is allowed according to semantic versioning. E.g. Major means it is allowed to downgrade to an old major version.
Declaration
public Nullable<VersionComponent> AllowedDowngrades { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<VersionComponent> |
AllowedUpgrades
Gets or sets what kind of upgrade is allowed according to semantic versioning. E.g. Major means it is allowed to upgrade to a new major version.
Declaration
public Nullable<VersionComponent> AllowedUpgrades { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<VersionComponent> |
AutoIncrementVersion
Gets or sets a value indicating whether the version of the content type should be automatically incremented.
Declaration
public Nullable<bool> AutoIncrementVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Remarks
Any assigned content type version will be ignored and overwritten.