View Source
Class DictionaryItem
Represents a Dictionary Item
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[Serializable]
[DataContract(IsReference = true)]
public class DictionaryItem : EntityBase, IDictionaryItem, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
View Source
DictionaryItem(Nullable<Guid>, String)
Declaration
public DictionaryItem(Guid? parentId, string itemKey)
Parameters
Type |
Name |
Description |
System.Nullable<System.Guid> |
parentId |
|
System.String |
itemKey |
|
View Source
DictionaryItem(String)
Declaration
public DictionaryItem(string itemKey)
Parameters
Type |
Name |
Description |
System.String |
itemKey |
|
Properties
View Source
GetLanguage
Declaration
public Func<int, ILanguage> GetLanguage { get; set; }
Property Value
Type |
Description |
System.Func<System.Int32, ILanguage> |
|
View Source
ItemKey
Gets or sets the Key for the Dictionary Item
Declaration
[DataMember]
public string ItemKey { get; set; }
Property Value
Type |
Description |
System.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 |
System.Nullable<System.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