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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ContentTypeSaveOptions

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 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 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 bool? AutoIncrementVersion { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

Any assigned content type version will be ignored and overwritten.

Extension Methods