Class ContentTypesByAliases
A model for retrieving multiple content types based on their aliases.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "contentTypes", Namespace = "")]
public class ContentTypesByAliases
Properties
View SourceContentTypeAliases
The alias of every content type to get.
Declaration
[DataMember(Name = "contentTypeAliases")]
[Required]
public string[] ContentTypeAliases { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
ParentId
Id of the parent of the content type.
Declaration
[DataMember(Name = "parentId")]
[Required]
public int ParentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |