Query.BypassResultTypes property

Gets or sets a Boolean value that indicates whether the ResultTypes obtained from the search results should be used or overridden.

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

Syntax

'Declaration
Public Property BypassResultTypes As Boolean
    Get
    Set
'Usage
Dim instance As Query
Dim value As Boolean

value = instance.BypassResultTypes

instance.BypassResultTypes = value
public bool BypassResultTypes { get; set; }

Property value

Type: System.Boolean

Remarks

When the search engine returns search results, ResultTypes are returned accordingly. These ResultTypes are usually used to determine how the search results are displayed via their display templates. BypassResultTypes lets you override these display templates.

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace