Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedCultureInfo

    Contains culture specific values for IPublishedContent.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.PublishedContent
    Assembly: Umbraco.Core.dll
    Syntax
    public class PublishedCultureInfo

    Constructors

    View Source

    PublishedCultureInfo(string, string?, string?, DateTime)

    Initializes a new instance of the PublishedCultureInfo class.

    Declaration
    public PublishedCultureInfo(string culture, string? name, string? urlSegment, DateTime date)
    Parameters
    Type Name Description
    string culture
    string name
    string urlSegment
    DateTime date

    Properties

    View Source

    Culture

    Gets the culture.

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

    Date

    Gets the date associated with the culture.

    Declaration
    public DateTime Date { get; }
    Property Value
    Type Description
    DateTime
    Remarks

    For published culture, this is the date the culture was published. For draft cultures, this is the date the culture was made available, ie the last time its name changed.

    View Source

    Name

    Gets the name of the item.

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

    UrlSegment

    Gets the URL segment of the item.

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