Share via


PeopleCoreResultsWebPart.DefaultPeopleView 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
<ResourcesAttribute("SearchResults_CRResultsView", "SearchResults_CR",  _
    "SearchResults_CRResultsView_ToolTip")> _
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property DefaultPeopleView As PeopleResultsView
    Get
    Set
'Usage
Dim instance As PeopleCoreResultsWebPart
Dim value As PeopleResultsView

value = instance.DefaultPeopleView

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

Property Value

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

See Also

Reference

PeopleCoreResultsWebPart Class

PeopleCoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace