Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedCultureInfo

    Contains culture specific values for IPublishedContent.

    Inheritance
    System.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
    System.String culture
    System.String name
    System.String urlSegment
    DateTime date

    Properties

    View Source

    Culture

    Gets the culture.

    Declaration
    public string Culture { get; }
    Property Value
    Type Description
    System.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
    System.String
    View Source

    UrlSegment

    Gets the URL segment of the item.

    Declaration
    public string UrlSegment { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PublishedCultureInfo(String, String, String, DateTime)
    • Properties
      • Culture
      • Date
      • Name
      • UrlSegment
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX