• DXC Service
  • Products
    • Episerver CMS
    • Episerver Commerce
    • Episerver Campaign
    • Episerver Find
    • Episerver Personalization
      • Advance
      • Perform
      • Insight
      • Reach
      • Personalized Find
    • Episerver Social API
    • Episerver apps & integrations
    • Ektron CMS
  • Documentation
    • Get started
      • DXC Service
      • CMS
      • Commerce
      • Campaign
      • Find
      • Personalization
      • Insight
      • Social API
      • Service API
    • Developer guides
      • DXC Service
      • CMS
      • Commerce
      • Campaign
      • Find
      • Advance
      • Perform
      • Reach
      • Personalized Find
      • Insight
      • Tracking
      • Profile Store
      • Content Delivery API
      • Social API
      • Service API
      • Forms
      • MA connectors
    • UI feature list
    • Technical overview
    • System requirements
    • Installation
    • User guide
    • APIs and libraries
      • CMS
      • Commerce
      • Campaign
      • Find
      • Social
      • REST APIs
    • Video tutorials
    • Releases
    • Upgrading
      • CMS
      • Commerce
      • Find
      • Forms
      • Service API
      • Personalization
  • Blogs
  • Forum
  • Support
  • EMVPs
  • Register
  • Log in
All Content Documentation Forum User Guide Support Help Center Blogs Articles Releases Bug List SDK Documents
People
Home / Documentation /
  • Framework reference
  • EPiServer.DataAbstraction
  • ContentType
    • ContentType Methods
    • ContentType Properties

ContentType Class

Assembly: EPiServer (in EPiServer.dll) Version: 10.10.5.0 (10.10.5.0)

Syntax:

C#
[SerializableAttribute]
public class ContentType : IComparable, 
	IComparable<ContentType>, IReadOnly

Basic type information and comparison between types

Methods

Name Summary Status
CompareTo public
ContentType Constructor Initializes a new instance of the ContentType class. public
ContentType Constructor (Int32, Guid, String, String, Boolean, Int32) Initializes a new instance of the ContentType class. protected
CreateWritableClone Creates a writable clone of this object. public
CreateWritableCloneImplementation The method called by IReadOnly.CreateWritableClone. protected
Equals Determines whether this instance of ContentType and a specified object, which must also be a ContentType object, have the same value. public
GetHashCode Returns the hash code for this ContentType. public
MakeReadOnly Makes the current instance and all it's properties read-only. public
ResetContentType Resets data that can be set from model. public
ThrowIfReadOnly Throws an exception if the current instance is read-only. protected

Properties

Name Summary Status
ACL Gets or sets the Access Control List (list of access permissions) for this content type. public
DefaultMvcController Gets or sets the Type of the "TemplateModel" that should be used as the default template used for web requests. public
DefaultMvcPartialView Gets or sets the Name of the MVC partial view "TemplateModel" that should be used as the default used for web requests. public
DefaultWebFormTemplate Gets or sets the Type of the "TemplateModel" that should be used as the default template used for web requests. public
Description Gets or sets the description of this content type instance. public
DescriptionLocalizationFormat Gets the description localization format. protected
DisplayName Gets or sets the diplay name of this content type instance. public
FullName Gets the full name formed by group name between brackets and Name public
GroupName Gets or sets the group name of this content type instance. public
GroupNameLocalizationFormat Gets the group name localization format. protected
GUID Gets or sets the globally unique identifier for this content type instance. public
ID Gets or sets the unique identifier for this content type instance. public
IsAvailable Gets or sets if the ContentType should be available in edit mode. public
IsNew Gets a value indicating whether this content type has been saved to the database. public
IsReadOnly Gets a value indicating if current instance is read-only. public, protected
LocalizationService The localization service used to resolve LocalizedName and LocalizedDescription.
LocalizedDescription Gets the description of this content type localized to current language. If no localized description exist the standard Description will be returned. public
LocalizedFullName Gets the localized name of the content type including the group name if set. public
LocalizedGroupName Gets the localized group name. public
LocalizedName Gets the name of this content type localized to the current language. If no localized name exist the standard Name will be returned. public
ModelType Gets the Type of the model used to represent this type. public
ModelTypeString Gets or sets the string format of the model type. public
Name Gets or sets the name of this content type instance. public
NameLocalizationFormat Gets the name localization format. protected
PropertyDefinitions Gets a PropertyDefinitionCollection containing all property definitions used by this content type. public
SortOrder Gets or sets the default sort index based on other types public

Inheritance

  • System.Object
  • EPiServer.DataAbstraction.ContentType
  • EPiServer.DataAbstraction.BlockType
  • EPiServer.DataAbstraction.PageType

About Episerver

  • episerver.com
  • Episerver certification
  • Job openings
  • License center
  • Privacy statement

Community

  • Blogs
  • Forums
  • Articles
  • Terms of use
  • EMVP program

Learning resources

  • Technical overview
  • Learning path Episerver CMS
  • Developer guides
  • User guide
  • Video tutorials
  • Episerver GitHub
  • Episerver Education

Contact

Episerver Support

See the Support page for contact information.

Feedback on Episerver World

If you’d like to give feedback about this site, please click here. Thank you very much!
© Episerver 2019 │ About Episerver World