Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the type of date and time format that is used in the field.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public Property DisplayFormat As SPDateTimeFieldFormatType
Get
Set
'Usage
Dim instance As SPFieldDateTime
Dim value As SPDateTimeFieldFormatType
value = instance.DisplayFormat
instance.DisplayFormat = value
[ClientCallableAttribute]
public SPDateTimeFieldFormatType DisplayFormat { get; set; }
Property Value
Type: Microsoft.SharePoint.SPDateTimeFieldFormatType
An SPDateTimeFieldFormatType value that specifies the type of date and time format.