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 members.

Public Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method Filter
Filters the specified input.
Public method GetChannelMappings
Gets the codes of the channels to which this ContentType is mapped
Public method GetHashCode (Inherited from Object.)
Public method GetItemNumbers
Returns an IntList with the items that are of this ContentType.
Public method GetMetaType Overloaded.
Public method GetType (Inherited from Object.)
Public method Inherit
Gets the inherited ContentType given an item reference.
Public method Static member IsFileLink
Returns true if this is a File Link content type.
Public method ToString
Returns a String that represents the current Object.
(Overrides Object..::ToString()()()().)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

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