This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class ContentType
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class ContentType

The type exposes the following properties.

Public Properties

  Name Description
Public property Area
Gets the Area for this content type.
Public property Code
Gets the code of the content type.
Public property ContentLevel
Gets the Content Level for this content type.
Public property DefaultWorkflow
Returns the item number of the default workflow, or returns 0 if none is specified for the contenttype.
Public property DerivedFrom
Gets the ContentType of which this ContentType is derived.
Public property Description
Gets the description of the content type.
Public property Fields
Returns the collection of fields of this content type.
Public property Group
Returns the ContentTypeGroup to which this ContentType belongs.
Public property Icon
Gets the icon.
Public property Identifier
Gets the globally unique ContentType identifier
Public property IsBrowsable
Returns true if this content type is browsable.
Public property IsPublication
Returns true if this is a publication only content type.
Public property IsRepository
Returns true if this is a repository content type.
Public property ItemTreeFormat
Gets the item tree format of the content type.
Public property MainField
Gets the main field in the contenttype, e.g. the field most likely to display using an empty RenderTemplate.
Public property Name
Gets the name of the content type.
Public property Number
Gets the number of the content type.
Public property Properties
Returns the collection of properties defined as ContentType properties.
Internally, these properties are defined on the 'nr' field.
Public property TreeFormat
Gets the tree format of the content type.
Public property UserGroups
Gets the collection of UserGroups.

See Also

Advanced