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)
Available in Sandboxed Solutions: No

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.

See Also

Reference

OWSDateField Class

OWSDateField Members

Microsoft.SharePoint.WebControls Namespace