Class ContentTypesByKeys
A model for retrieving multiple content types based on their keys.
Inheritance
System.Object
Namespace: Umbraco.Web.Models.ContentEditing
Assembly: Umbraco.Web.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 |
---|---|
System.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 |