Class ContentTypeModel
Represents a content type model for use in template queries.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.TemplateQuery
Assembly: Umbraco.Core.dll
Syntax
public class ContentTypeModel
Constructors
View SourceContentTypeModel()
Declaration
public ContentTypeModel()
Properties
View SourceAlias
Gets or sets the alias of the content type.
Declaration
public string? Alias { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets or sets the display name of the content type.
Declaration
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |