SearchResponse Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SearchResponse() |
Initializes a new instance of the SearchResponse class. |
SearchResponse(String, String, QueryContext, WebWebAnswer) |
Initializes a new instance of the SearchResponse class. |
SearchResponse()
Initializes a new instance of the SearchResponse class.
public SearchResponse ();
Public Sub New ()
Applies to
SearchResponse(String, String, QueryContext, WebWebAnswer)
Initializes a new instance of the SearchResponse class.
public SearchResponse (string id = default, string webSearchUrl = default, Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.QueryContext queryContext = default, Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebWebAnswer webPages = default);
new Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.SearchResponse : string * string * Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.QueryContext * Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebWebAnswer -> Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.SearchResponse
Public Sub New (Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional queryContext As QueryContext = Nothing, Optional webPages As WebWebAnswer = Nothing)
Parameters
- id
- String
A String identifier.
- webSearchUrl
- String
The URL To Bing's search result for this item.
- queryContext
- QueryContext
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
- WebWebAnswer
A list of webpages that are relevant to the search query.
Applies to
Azure SDK for .NET