Class DateField

Version: 21.x

Represents a date field.

Inheritance
System.Object
Field<System.DateTime>
EditableField<System.DateTime>
DateField
Implements
IValueField<System.DateTime>
Namespace: Sitecore.LayoutService.Client.Response.Model.Fields
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public class DateField : EditableField<DateTime>, IFieldReader, IValueField<DateTime>, IEditableField, IField

Constructors

DateField()

Initializes a new instance of the DateField class.

Declaration
RequestResponse
public DateField()

DateField(DateTime)

Initializes a new instance of the DateField class.

Declaration
RequestResponse
public DateField(DateTime value)
Parameters
TypeNameDescription
System.DateTimevalue

The intial value.

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,