Search Results for

    Show / Hide Table of Contents
    View Source

    Class DictionaryItem

    Represents a Dictionary Item

    Inheritance
    object
    BeingDirtyBase
    EntityBase
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(IsReference = true)]
    public class DictionaryItem : EntityBase, IDictionaryItem, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Constructors

    View Source

    DictionaryItem(Guid?, string)

    Initializes a new instance of the DictionaryItem class with a parent and key.

    Declaration
    public DictionaryItem(Guid? parentId, string itemKey)
    Parameters
    Type Name Description
    Guid? parentId

    The unique identifier of the parent dictionary item.

    string itemKey

    The key for the dictionary item.

    View Source

    DictionaryItem(string)

    Initializes a new instance of the DictionaryItem class with the specified key.

    Declaration
    public DictionaryItem(string itemKey)
    Parameters
    Type Name Description
    string itemKey

    The key for the dictionary item.

    Properties

    View Source

    ItemKey

    Gets or sets the Key for the Dictionary Item

    Declaration
    [DataMember]
    public string ItemKey { get; set; }
    Property Value
    Type Description
    string
    View Source

    ParentId

    Gets or Sets the Parent Id of the Dictionary Item

    Declaration
    [DataMember]
    public Guid? ParentId { get; set; }
    Property Value
    Type Description
    Guid?
    View Source

    Translations

    Gets or sets a list of translations for the Dictionary Item

    Declaration
    [DataMember]
    public IEnumerable<IDictionaryTranslation> Translations { get; set; }
    Property Value
    Type Description
    IEnumerable<IDictionaryTranslation>
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX