Table of Contents

Class ContentTypeInfo

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Describes the content type configuration.

public sealed class ContentTypeInfo : DataClassInfo, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject
Inheritance
object
ContentTypeInfo
Implements
Inherited Members
Extension Methods

Constructors

ContentTypeInfo()

Initializes a new instance of the ContentTypeInfo class.

public ContentTypeInfo()

Fields

OBJECT_TYPE_CONTENTTYPE

Object type for document type

public const string OBJECT_TYPE_CONTENTTYPE = "cms.contenttype"

Field Value

string

TYPEINFOCONTENTTYPE

Type information for document type.

public static ObjectTypeInfo TYPEINFOCONTENTTYPE

Field Value

ObjectTypeInfo

Properties

ClassDefaultObjectType

Class default object type

public override string ClassDefaultObjectType { get; set; }

Property Value

string

TypeInfo

Type information.

public override ObjectTypeInfo TypeInfo { get; }

Property Value

ObjectTypeInfo

Methods

RemoveObjectDependencies(bool, bool)

Removes object dependencies. First tries to execute removedependencies query, if not found, automatic process is executed.

protected override void RemoveObjectDependencies(bool deleteAll = false, bool clearHashtables = true)

Parameters

deleteAll bool

If false, only required dependencies are deleted, dependencies with default value are replaced with default value and nullable values are replaced with null

clearHashtables bool

If true, hashtables of all objecttypes which were potentially modified are cleared

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()