Search Results for

    Show / Hide Table of Contents

    Class FieldDateTimeOptions

    Available options for SharePoint DateTime fields

    Inheritance
    System.Object
    CommonFieldOptions
    FieldDateTimeOptions
    Inherited Members
    CommonFieldOptions.Id
    CommonFieldOptions.Required
    CommonFieldOptions.AddToDefaultView
    CommonFieldOptions.Options
    CommonFieldOptions.Description
    CommonFieldOptions.InternalName
    CommonFieldOptions.DefaultFormula
    CommonFieldOptions.EnforceUniqueValues
    CommonFieldOptions.Group
    CommonFieldOptions.Hidden
    CommonFieldOptions.Indexed
    CommonFieldOptions.ValidationFormula
    CommonFieldOptions.ValidationMessage
    CommonFieldOptions.ShowInEditForm
    CommonFieldOptions.ShowInViewForms
    CommonFieldOptions.ShowInNewForm
    CommonFieldOptions.CustomFormatter
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class FieldDateTimeOptions : CommonFieldOptions

    Properties

    DateTimeCalendarType

    Gets or sets a value that specifies the calendar type of the field.

    Declaration
    public CalendarType DateTimeCalendarType { get; set; }
    Property Value
    CalendarType

    DisplayFormat

    Gets or sets the type of date and time format that is used in the field.

    Declaration
    public DateTimeFieldFormatType DisplayFormat { get; set; }
    Property Value
    DateTimeFieldFormatType

    FriendlyDisplayFormat

    Gets or sets the type of friendly display format that is used in the field.

    Declaration
    public DateTimeFieldFriendlyFormatType FriendlyDisplayFormat { get; set; }
    Property Value
    DateTimeFieldFriendlyFormatType

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer