Class ContentTypesByKeys
A model for retrieving multiple content types based on their keys.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "contentTypes", Namespace = "")]
public class ContentTypesByKeys
Properties
View SourceContentTypeKeys
The id of every content type to get.
Declaration
[DataMember(Name = "contentTypeKeys")]
[Required]
public Guid[] ContentTypeKeys { get; set; }
Property Value
Type | Description |
---|---|
Guid[] |
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 |