Compartilhar via


SPDateTimeFieldFormatType Enumeration

Specifies the format to use in displaying date and time fields.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableTypeAttribute(Name := "DateTimeFieldFormatType")> _
<SubsetCallableTypeAttribute> _
Public Enumeration SPDateTimeFieldFormatType
'Usage
Dim instance As SPDateTimeFieldFormatType
[ClientCallableTypeAttribute(Name = "DateTimeFieldFormatType")]
[SubsetCallableTypeAttribute]
public enum SPDateTimeFieldFormatType

Members

Member name Description
DateOnly Only the date is displayed.
DateTime Both the date and the time are displayed.

See Also

Reference

Microsoft.SharePoint Namespace