Share via


WebWebAnswer Constructors

Definition

Overloads

WebWebAnswer()

Initializes a new instance of the WebWebAnswer class.

WebWebAnswer(IList<WebPage>, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the WebWebAnswer class.

WebWebAnswer()

Initializes a new instance of the WebWebAnswer class.

public WebWebAnswer ();
Public Sub New ()

Applies to

WebWebAnswer(IList<WebPage>, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the WebWebAnswer class.

public WebWebAnswer (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebPage> value, string id = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.Query> followUpQueries = default, Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.QueryContext queryContext = default, long? totalEstimatedMatches = default, bool? isFamilyFriendly = default, bool? someResultsRemoved = default);
new Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebWebAnswer : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebPage> * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.Query> * Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.QueryContext * Nullable<int64> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebWebAnswer
Public Sub New (value As IList(Of WebPage), Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional followUpQueries As IList(Of Query) = Nothing, Optional queryContext As QueryContext = Nothing, Optional totalEstimatedMatches As Nullable(Of Long) = Nothing, Optional isFamilyFriendly As Nullable(Of Boolean) = Nothing, Optional someResultsRemoved As Nullable(Of Boolean) = Nothing)

Parameters

value
IList<WebPage>

A list of webpages that are relevant to the query.

id
String

A String identifier.

webSearchUrl
String

The URL To Bing's search result for this item.

followUpQueries
IList<Query>
queryContext
QueryContext
totalEstimatedMatches
Nullable<Int64>

The estimated number of webpages that are relevant to the query. Use this number along with the count and offset query parameters to page the results.

isFamilyFriendly
Nullable<Boolean>
someResultsRemoved
Nullable<Boolean>

A Boolean value that indicates whether the response excluded some results from the answer. If Bing excluded some results, the value is true.

Applies to