SearchResultsBaseWebPart.DateFormat Property
Gets or sets the date and time formatting for the Web Part.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property DateFormat As SPDateFormat
Get
Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As SPDateFormat
value = instance.DateFormat
instance.DateFormat = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public SPDateFormat DateFormat { get; set; }
Property Value
Type: Microsoft.SharePoint.Utilities.SPDateFormat
The date and time format.
See Also
Reference
SearchResultsBaseWebPart Class