CoreResultsWebPart.RelevanceView Property
Gets or sets a Boolean value that specifies whether the CoreResultsWebPart Web Part 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)> _
<ResourcesAttribute("SearchResults_CRRelevanceView", "", "SearchResults_CRRelevanceViewToolTip")> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property RelevanceView As Boolean
Get
Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Boolean
value = instance.RelevanceView
instance.RelevanceView = value
[WebBrowsableAttribute(true)]
[ResourcesAttribute("SearchResults_CRRelevanceView", "", "SearchResults_CRRelevanceViewToolTip")]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public bool RelevanceView { get; set; }
Property Value
Type: System.Boolean
true if the link is displayed ; otherwise, false.