Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IPublishedContent

    Represents a published element.

    Namespace: Umbraco.Cms.Core.Models.PublishedContent
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IPublishedContent : IPublishedElement
    Remarks

    Can be a published document, media or member.

    Properties

    View Source

    Level

    Gets the tree level of the content item.

    Declaration
    int Level { get; }
    Property Value
    Type Description
    int
    View Source

    Path

    Gets the tree path of the content item.

    Declaration
    string Path { get; }
    Property Value
    Type Description
    string
    View Source

    TemplateId

    Gets the identifier of the template to use to render the content item.

    Declaration
    int? TemplateId { get; }
    Property Value
    Type Description
    int?
    View Source

    UrlSegment

    Gets the URL segment of the content item for the current culture.

    Declaration
    [Obsolete("Please use GetUrlSegment() on IDocumentUrlService instead. Scheduled for removal in Umbraco 20.")]
    string? UrlSegment { get; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX