Share via


Query.ResultTypes Property

Gets or sets a value that specifies the search result type.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
Public Property ResultTypes As ResultType
    Get
    Set
'Usage
Dim instance As Query
Dim value As ResultType

value = instance.ResultTypes

instance.ResultTypes = value
public ResultType ResultTypes { get; set; }

Property Value

Type: Microsoft.SharePoint.Search.Query.ResultType
A value from the ResultType enumeration.

See Also

Reference

Query Class

Query Members

Microsoft.SharePoint.Search.Query Namespace