Share via


CoreResultsWebPart.DateView Property

Gets or sets a value that indicates whether the CoreResultsWebPart displays the link to sort results by the date modified.

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

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ResourcesAttribute("SearchResults_CRDateView", "", "SearchResults_CRDateView_ToolTip")> _
Public Property DateView As Boolean
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Boolean

value = instance.DateView

instance.DateView = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("SearchResults_CRDateView", "", "SearchResults_CRDateView_ToolTip")]
public bool DateView { get; set; }

Property Value

Type: System.Boolean
true if the link is displayed; otherwise, false.

See Also

Reference

CoreResultsWebPart Class

CoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace