View Source
Class ContentItemBasic
A model representing a basic content item
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "content", Namespace = "")]
public class ContentItemBasic : EntityBasic
Properties
View Source
ContentTypeAlias
Declaration
[DataMember(Name = "contentTypeAlias", IsRequired = true)]
[Required(AllowEmptyStrings = false)]
public string ContentTypeAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ContentTypeId
Declaration
public int ContentTypeId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
CreateDate
Declaration
[DataMember(Name = "createDate")]
public DateTime CreateDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
View Source
Edited
Determines if the content item is a draft
Declaration
[DataMember(Name = "edited")]
public bool Edited { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Owner
Declaration
[DataMember(Name = "owner")]
public UserProfile Owner { get; set; }
Property Value
View Source
Published
Boolean indicating if this item is published or not based on it's State
Declaration
[DataMember(Name = "published")]
public bool Published { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
SortOrder
Declaration
[DataMember(Name = "sortOrder")]
public int SortOrder { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
State
The saved/published state of an item
Declaration
[DataMember(Name = "state")]
public ContentSavedState? State { get; set; }
Property Value
View Source
UpdateDate
Declaration
[DataMember(Name = "updateDate")]
public DateTime UpdateDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
View Source
Updater
Declaration
[DataMember(Name = "updater")]
public UserProfile Updater { get; set; }
Property Value
View Source
VariesByCulture
Declaration
[DataMember(Name = "variesByCulture")]
public bool VariesByCulture { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Equals(ContentItemBasic)
Declaration
protected bool Equals(ContentItemBasic other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|