Share via


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
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property DateFormat As SPDateFormat
    Get
    Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As SPDateFormat

value = instance.DateFormat

instance.DateFormat = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public SPDateFormat DateFormat { get; set; }

Property value

Type: Microsoft.SharePoint.Utilities.SPDateFormat
The date and time format.

See also

Reference

SearchResultsBaseWebPart class

SearchResultsBaseWebPart members

Microsoft.Office.Server.Search.WebControls namespace