OWSDateField.DateOnly property
NOTE: This API is now obsolete.
Gets or sets a Boolean value that specifies whether the date field contains only date values and not time values.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class has been deprecated.")> _
Public Property DateOnly As Boolean
Get
Set
'Usage
Dim instance As OWSDateField
Dim value As Boolean
value = instance.DateOnly
instance.DateOnly = value
[ObsoleteAttribute("This class has been deprecated.")]
public bool DateOnly { get; set; }
Property value
Type: System.Boolean
true if the date field contains only date values.