November Happy Hour will be moved to Thursday December 5th.

Class ContentTypeTransferObject

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Transfer object used to serialize ContentType into import/export package.

Inheritance
System.Object
ContentTypeTransferObject
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.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class ContentTypeTransferObject

Constructors

ContentTypeTransferObject()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the ContentTypeTransferObject class.

Declaration
public ContentTypeTransferObject()

ContentTypeTransferObject(ContentType)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the ContentTypeTransferObject class.

Declaration
public ContentTypeTransferObject(ContentType contentType)
Parameters
Type Name Description
ContentType contentType

Type of the content.

Properties

DefaultMvcControllerString

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the type name of the mvc controller used to represent this type

Declaration
public string DefaultMvcControllerString { get; set; }
Property Value
Type Description
System.String

DefaultMvcPartialView

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the name of the mvc partial view used to represent this type

Declaration
public string DefaultMvcPartialView { get; set; }
Property Value
Type Description
System.String

DefaultWebFormTemplateString

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the type name of the model used to represent this type

Declaration
public string DefaultWebFormTemplateString { get; set; }
Property Value
Type Description
System.String

Description

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the description of this content type instance.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

DisplayName

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the diplay name of this content type instance.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
System.String
Remarks

This is the name for the content type in UI. When accessing the content type programatically Name should be used.

GUID

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the globally unique identifier for this content type instance.

Declaration
public Guid GUID { get; set; }
Property Value
Type Description
System.Guid

ID

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the unique identifier for this content type instance.

Declaration
public int ID { get; set; }
Property Value
Type Description
System.Int32

IsAvailable

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets if the ContentType should be available in edit mode.

Declaration
public bool? IsAvailable { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

ModelTypeString

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the type name of the model used to represent this type

Declaration
public string ModelTypeString { get; set; }
Property Value
Type Description
System.String

Name

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the name of this content type instance.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

PropertyDefinitions

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a PropertyDefinitionCollection containing all property definitions used by this content type.

Declaration
public PropertyDefinitionCollection PropertyDefinitions { get; set; }
Property Value
Type Description
PropertyDefinitionCollection
Remarks

The contents of this collection will not be persisted when the page or block that uses it is saved. If you want to work with property definitions, use the IPropertyDefinitionRepository.

SortOrder

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the default sort index based on other types

Declaration
public int? SortOrder { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Methods

CreateInstance()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates the instance.

Declaration
protected virtual ContentType CreateInstance()
Returns
Type Description
ContentType

ToContentType()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Toes the type of the content.

Declaration
public virtual ContentType ToContentType()
Returns
Type Description
ContentType

Extension Methods