SearchResults.SearchResultDateTimeFormat Property

Gets or sets the display format for the date and time.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property SearchResultDateTimeFormat As QueryResultsDateTimeFormatType
    Get
    Set
'Usage
Dim instance As SearchResults
Dim value As QueryResultsDateTimeFormatType

value = instance.SearchResultDateTimeFormat

instance.SearchResultDateTimeFormat = value
public QueryResultsDateTimeFormatType SearchResultDateTimeFormat { get; set; }

Property Value

Type: QueryResultsDateTimeFormatType
Member of the Microsoft.SharePoint.Portal.WebControls.QueryResultsDateTimeFormatType enumeration that determines the display format for the date and time.

Remarks

The SearchResultDateTimeFormat property is read/write. Possible values for this property are SearchResultDateTimeFormat.Standard and SearchResultDateTimeFormat.Customized. The standard format displays date and time in short date format. The customized format is language specific.

See Also

Reference

SearchResults Class

SearchResults Members

Microsoft.SharePoint.Portal.WebControls Namespace