Interface IHasChildren
Marker interface that indicates the type can represent whether an entity has child entities.
Namespace: Umbraco.Cms.Api.Management.ViewModels
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public interface IHasChildren
Properties
View SourceHasChildren
Gets or sets a value indicating whether the entity has at least one child entity of its own type.
Declaration
bool HasChildren { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Children are counted regardless of their published state and regardless of the requesting user's permissions, so an entity can report that it has children that the user is not permitted to see.