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