SearchResultsAnswer Constructors

Definition

Overloads

SearchResultsAnswer()

Initializes a new instance of the SearchResultsAnswer class.

SearchResultsAnswer(String, IList<ContractualRulesContractualRule>, String, QueryContext)

Initializes a new instance of the SearchResultsAnswer class.

SearchResultsAnswer()

Initializes a new instance of the SearchResultsAnswer class.

public SearchResultsAnswer ();
Public Sub New ()

Applies to

SearchResultsAnswer(String, IList<ContractualRulesContractualRule>, String, QueryContext)

Initializes a new instance of the SearchResultsAnswer class.

public SearchResultsAnswer (string id = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> contractualRules = default, string webSearchUrl = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.QueryContext queryContext = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.SearchResultsAnswer : string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> * string * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.QueryContext -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.SearchResultsAnswer
Public Sub New (Optional id As String = Nothing, Optional contractualRules As IList(Of ContractualRulesContractualRule) = Nothing, Optional webSearchUrl As String = Nothing, Optional queryContext As QueryContext = Nothing)

Parameters

id
System.String

A String identifier.

contractualRules
System.Collections.Generic.IList<ContractualRulesContractualRule>

A list of rules that you must adhere to if you display the item.

webSearchUrl
System.String

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

queryContext
QueryContext

Applies to