Specifies that this content type model can be used for the root page in a site or a root item in an asset library.

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = False, Inherited = False, AllowMultiple = False, Inherited = False, AllowMultiple = False, Inherited = False, AllowMultiple = False, Inherited = False, AllowMultiple = False, Inherited = False)]
public sealed class AllowAtRootAttribute: IContentTypeAttribute
Inheritance:
ObjectAttributeAllowAtRootAttribute
Implements:
IContentTypeAttribute

Constructors

AllowAtRootAttribute()

Methods

Apply(ContentTypeDefinition) Applies this attribute's settings to the content type model. Automatically called by the Redakt system on startup.