Search Results for

    Show / Hide Table of Contents

    Class FieldDateTime

    The field used to store a date time

    Inheritance
    object
    FieldBase
    FieldDateTime
    FieldDateTimeArray
    Inherited Members
    FieldBase.Id
    FieldBase.IndexId
    FieldBase.FieldNamespace
    FieldBase.Names
    FieldBase.Descriptions
    FieldBase.Required
    FieldBase.UiBehavior
    FieldBase.Index
    FieldBase.SimpleSearch
    FieldBase.Sortable
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class FieldDateTime : FieldBase

    Properties

    Boost

    Value to prioritize search results. Set to 1 by default. Ignored if SimpleSearch not set to true.

    Declaration
    [JsonProperty("boost", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public double Boost { get; set; }
    Property Value
    double

    Format

    The date time format structure.

    Declaration
    [JsonProperty("format", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string Format { get; set; }
    Property Value
    string

    InitializeOnItemCreation

    If set to true, the date time value is automatically set when a content or list item is created.

    Declaration
    [JsonProperty("initializeOnItemCreation", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public bool InitializeOnItemCreation { get; set; }
    Property Value
    bool

    Methods

    FromJson(string)

    Declaration
    public static FieldDateTime FromJson(string data)
    Parameters
    string data

    Returns
    FieldDateTime

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX