Share via


SearchResponse Class

Definition

Defines the top-level object that the response includes when the request succeeds.

public class SearchResponse : Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.Response
type SearchResponse = class
    inherit Response
Public Class SearchResponse
Inherits Response
Inheritance

Constructors

SearchResponse()

Initializes a new instance of the SearchResponse class.

SearchResponse(String, String, QueryContext, WebWebAnswer)

Initializes a new instance of the SearchResponse class.

Properties

Id

Gets a String identifier.

(Inherited from Identifiable)
QueryContext

Gets an object that contains the query string that Bing used for the request. This object contains the query string as entered by the user. It may also contain an altered query string that Bing used for the query if the query string contained a spelling mistake.

WebPages

Gets a list of webpages that are relevant to the search query.

WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)

Methods

Validate()

Validate the object.

Applies to