Delen via


SearchResultsAnswer Constructors

Definition

Overloads

SearchResultsAnswer()

Initializes a new instance of the SearchResultsAnswer class.

SearchResultsAnswer(String, String, String, IList<Action>, IList<Action>, String, 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, String, String, IList<Action>, IList<Action>, String, String, QueryContext)

Initializes a new instance of the SearchResultsAnswer class.

public SearchResultsAnswer (string id = default, string readLink = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> potentialAction = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> immediateAction = default, string preferredClickthroughUrl = default, string adaptiveCard = default, Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.QueryContext queryContext = default);
new Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.SearchResultsAnswer : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> * string * string * Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.QueryContext -> Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.SearchResultsAnswer
Public Sub New (Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional potentialAction As IList(Of Action) = Nothing, Optional immediateAction As IList(Of Action) = Nothing, Optional preferredClickthroughUrl As String = Nothing, Optional adaptiveCard As String = Nothing, Optional queryContext As QueryContext = Nothing)

Parameters

id
String

A String identifier.

readLink
String

The URL that returns this resource.

webSearchUrl
String

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

potentialAction
IList<Action>
immediateAction
IList<Action>
preferredClickthroughUrl
String
adaptiveCard
String
queryContext
QueryContext

Applies to