PeopleCoreResultsWebPart.View Property

Gets or sets the default sort view for the search results displayed in the PeopleCoreResultsWebPart 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)> _
<ResourcesAttribute("SearchResults_CRResultsView", "SearchResults_CR",  _
    "SearchResults_CRResultsView_ToolTip")> _
Public Property View As ResultsView
    Get
    Set
'Usage
Dim instance As PeopleCoreResultsWebPart
Dim value As ResultsView

value = instance.View

instance.View = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
[ResourcesAttribute("SearchResults_CRResultsView", "SearchResults_CR", 
    "SearchResults_CRResultsView_ToolTip")]
public ResultsView View { get; set; }

Property Value

Type: Microsoft.Office.Server.Search.WebControls.ResultsView
A value from the ResultsView enumeration specifying the view.

See Also

Reference

PeopleCoreResultsWebPart Class

PeopleCoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace