SpellSuggestions 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
SpellSuggestions() |
Initializes a new instance of the SpellSuggestions class. |
SpellSuggestions(IList<Query>, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>) |
Initializes a new instance of the SpellSuggestions class. |
SpellSuggestions()
Initializes a new instance of the SpellSuggestions class.
public SpellSuggestions ();
Public Sub New ()
Applies to
SpellSuggestions(IList<Query>, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>)
Initializes a new instance of the SpellSuggestions class.
public SpellSuggestions (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> value, string id = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> followUpQueries = default, Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.QueryContext queryContext = default, long? totalEstimatedMatches = default, bool? isFamilyFriendly = default);
new Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.SpellSuggestions : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> * Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.QueryContext * Nullable<int64> * Nullable<bool> -> Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.SpellSuggestions
Public Sub New (value As IList(Of Query), 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)
Parameters
A list of suggested query strings that may represent the user's intention. The list contains only one Query object.
- id
- String
A String identifier.
- webSearchUrl
- String
The URL To Bing's search result for this item.
- queryContext
- QueryContext
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.
Applies to
Azure SDK for .NET