Represents a document.
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntaxpublic interface IContent : IContentBase, IUmbracoEntity, ITreeEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Properties View Source Blueprint
Gets a value indicating whether the content item is a blueprint.
Declarationbool Blueprint { get; set; }
Property Value Type Description System.Boolean View Source Edited
Gets a value indicating whether the content has been edited.
Declarationbool Edited { get; set; }
Property Value Type Description System.Boolean View Source EditedCultures
Gets the edited cultures.
DeclarationIEnumerable<string>? EditedCultures { get; set; }
Property Value Type Description System.Nullable<IEnumerable<System.String>> View Source PublishCultureInfos
Gets the published culture infos of the content.
DeclarationContentCultureInfosCollection PublishCultureInfos { get; set; }
Property Value View Source PublishDate
Gets the date and time the content was published.
DeclarationDateTime? PublishDate { get; set; }
Property Value Type Description System.Nullable<DateTime> View Source Published
Gets a value indicating whether the content is published.
Declarationbool Published { get; set; }
Property Value Type Description System.Boolean View Source PublishedCultures
Gets the published cultures.
DeclarationIEnumerable<string> PublishedCultures { get; }
Property Value Type Description IEnumerable<System.String> View Source PublishedState Declaration
PublishedState PublishedState { get; set; }
Property Value View Source PublishedVersionId
Gets the version identifier for the currently published version of the content.
Declarationint PublishedVersionId { get; set; }
Property Value Type Description System.Int32 View Source PublisherId
Gets the identifier of the user who published the content.
Declarationint? PublisherId { get; set; }
Property Value Type Description System.Nullable<System.Int32> View Source PublishName
Gets the name of the published version of the content.
Declarationstring PublishName { get; set; }
Property Value Type Description System.String View Source PublishTemplateId
Gets the template id used to render the published version of the content.
Declarationint? PublishTemplateId { get; set; }
Property Value Type Description System.Nullable<System.Int32> View Source TemplateId
Gets or sets the template id used to render the content.
Declarationint? TemplateId { get; set; }
Property Value Type Description System.Nullable<System.Int32> Methods View Source DeepCloneWithResetIdentities()
Creates a deep clone of the current entity with its identity/alias and it's property identities reset
DeclarationIContent DeepCloneWithResetIdentities()
Returns View Source GetPublishDate(String)
Gets the date a culture was published.
DeclarationDateTime? GetPublishDate(string culture)
Parameters Type Name Description System.String culture Returns Type Description System.Nullable<DateTime> View Source GetPublishName(String)
Gets the name of the published version of the content for a given culture.
Declarationstring GetPublishName(string culture)
Parameters Type Name Description System.String culture Returns Type Description System.String View Source IsCultureEdited(String)
Gets a value indicated whether a given culture is edited.
Declarationbool IsCultureEdited(string culture)
Parameters Type Name Description System.String culture Returns Type Description System.Boolean View Source IsCulturePublished(String)
Gets a value indicating whether a culture is published.
Declarationbool IsCulturePublished(string culture)
Parameters Type Name Description System.String culture Returns Type Description System.Boolean
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4