Search Results for

    Show / Hide Table of Contents
    View Source

    Class CreateContentWithParentRequestModelBase<TValueModel, TVariantModel>

    Provides a base class for request models used to create content items with a specified parent in the content tree.

    Inheritance
    object
    ContentModelBase<TValueModel, TVariantModel>
    CreateContentRequestModelBase<TValueModel, TVariantModel>
    Namespace: Umbraco.Cms.Api.Management.ViewModels.Content
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public abstract class CreateContentWithParentRequestModelBase<TValueModel, TVariantModel> : CreateContentRequestModelBase<TValueModel, TVariantModel> where TValueModel : ValueModelBase where TVariantModel : VariantModelBase
    Type Parameters
    Name Description
    TValueModel

    The type representing the value model for the content.

    TVariantModel

    The type representing the variant model for the content.

    Constructors

    View Source

    CreateContentWithParentRequestModelBase()

    Declaration
    protected CreateContentWithParentRequestModelBase()

    Properties

    View Source

    Parent

    Gets or sets the model representing the parent content by its ID.

    Declaration
    public ReferenceByIdModel? Parent { get; set; }
    Property Value
    Type Description
    ReferenceByIdModel
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX