CoreResultsWebPart.View Property

Gets or sets the default sort view for the search results displayed in the CoreResultsWebPart 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 View As ResultsView
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As ResultsView

value = instance.View

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

Property Value

Type: Microsoft.Office.Server.Search.WebControls.ResultsView
One of the enumeration values that specifies the view.

See Also

Reference

CoreResultsWebPart Class

CoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace