View Source
Class InternalPublishedContent
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public sealed class InternalPublishedContent : IPublishedContent, IPublishedElement
Constructors
View Source
InternalPublishedContent(IPublishedContentType)
Declaration
public InternalPublishedContent(IPublishedContentType contentType)
Parameters
Properties
View Source
ChildIds
Declaration
public IEnumerable<int> ChildIds { get; set; }
Property Value
Type |
Description |
IEnumerable<System.Int32> |
|
View Source
Children
Declaration
public IEnumerable<IPublishedContent> Children { get; set; }
Property Value
View Source
ChildrenForAllCultures
Declaration
public IEnumerable<IPublishedContent> ChildrenForAllCultures { get; }
Property Value
View Source
ContentType
Declaration
public IPublishedContentType ContentType { get; set; }
Property Value
View Source
CreateDate
Declaration
public DateTime CreateDate { get; set; }
Property Value
Type |
Description |
DateTime |
|
View Source
CreatorId
Declaration
public int CreatorId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Cultures
Declaration
public IReadOnlyDictionary<string, PublishedCultureInfo> Cultures { get; }
Property Value
View Source
Id
Declaration
public int Id { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Item[String]
Declaration
public object this[string alias] { get; }
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Property Value
Type |
Description |
System.Object |
|
View Source
ItemType
Declaration
public PublishedItemType ItemType { get; }
Property Value
View Source
Key
Declaration
public Guid Key { get; set; }
Property Value
View Source
Level
Declaration
public int Level { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Parent
Declaration
public IPublishedContent Parent { get; set; }
Property Value
View Source
ParentId
Declaration
public int ParentId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Path
Declaration
public string Path { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Properties
Declaration
public IEnumerable<IPublishedProperty> Properties { get; set; }
Property Value
View Source
SortOrder
Declaration
public int SortOrder { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
TemplateId
Declaration
public int? TemplateId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
View Source
UpdateDate
Declaration
public DateTime UpdateDate { get; set; }
Property Value
Type |
Description |
DateTime |
|
View Source
UrlSegment
Declaration
public string UrlSegment { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Version
Declaration
public Guid Version { get; set; }
Property Value
View Source
WriterId
Declaration
public int WriterId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
View Source
GetProperty(String)
Declaration
public IPublishedProperty GetProperty(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Returns
View Source
GetProperty(String, Boolean)
Declaration
public IPublishedProperty GetProperty(string alias, bool recurse)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
System.Boolean |
recurse |
|
Returns
View Source
IsDraft(String)
Declaration
public bool IsDraft(string culture = null)
Parameters
Type |
Name |
Description |
System.String |
culture |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
IsPublished(String)
Declaration
public bool IsPublished(string culture = null)
Parameters
Type |
Name |
Description |
System.String |
culture |
|
Returns
Type |
Description |
System.Boolean |
|