共用方式為


QueryProperties.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 QueryProperties
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

QueryProperties Class

QueryProperties Members

Microsoft.SharePoint.Search.Query Namespace