Share via


Query Class

Definition

Defines a search query.

public class Query
type Query = class
Public Class Query
Inheritance
Query

Constructors

Query()

Initializes a new instance of the Query class.

Query(String, String, String, String, ImageObject)

Initializes a new instance of the Query class.

Properties

DisplayText

Gets the display version of the query term. This version of the query term may contain special characters that highlight the search term found in the query string. The string contains the highlighting characters only if the query enabled hit highlighting

SearchLink
Text

Gets or sets the query string. Use this string as the query term in a new search request.

Thumbnail
WebSearchUrl

Gets the URL that takes the user to the Bing search results page for the query.Only related search results include this field.

Methods

Validate()

Validate the object.

Applies to