共用方式為


Suggestions Constructors

Definition

Overloads

Suggestions()

Initializes a new instance of the Suggestions class.

Suggestions(IList<SuggestionsSuggestionGroup>, String, String, String, IList<Action>, IList<Action>, String, String, QueryContext)

Initializes a new instance of the Suggestions class.

Suggestions()

Initializes a new instance of the Suggestions class.

public Suggestions ();
Public Sub New ()

Applies to

Suggestions(IList<SuggestionsSuggestionGroup>, String, String, String, IList<Action>, IList<Action>, String, String, QueryContext)

Initializes a new instance of the Suggestions class.

public Suggestions (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.SuggestionsSuggestionGroup> suggestionGroups, 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.Suggestions : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.SuggestionsSuggestionGroup> * 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.Suggestions
Public Sub New (suggestionGroups As IList(Of SuggestionsSuggestionGroup), 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

suggestionGroups
IList<SuggestionsSuggestionGroup>
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