Class ContentScheduleModel
Represents the scheduling model for content publishing and unpublishing dates.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.ContentPublishing
Assembly: Umbraco.Core.dll
Syntax
public class ContentScheduleModel
Constructors
View SourceContentScheduleModel()
Declaration
public ContentScheduleModel()
Properties
View SourcePublishDate
Gets or sets the date and time when the content should be published.
Declaration
public DateTimeOffset? PublishDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UnpublishDate
Gets or sets the date and time when the content should be unpublished.
Declaration
public DateTimeOffset? UnpublishDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |