Share via


KeywordQuery.SelectProperties Property

Gets a list of the properties to return in the search results.

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

Syntax

'Declaration
Public ReadOnly Property SelectProperties As StringCollection
    Get
'Usage
Dim instance As KeywordQuery
Dim value As StringCollection

value = instance.SelectProperties
public StringCollection SelectProperties { get; }

Property Value

Type: System.Collections.Specialized.StringCollection
A System.Collections.Specialized.StringCollection object that represents the list of properties.

See Also

Reference

KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace

Other Resources

Enterprise Search Keyword Syntax Reference

Enterprise Search Query Object Model Overview

Walkthrough: Creating a Custom Enterprise Search Web Part