Query 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
Query() |
Initializes a new instance of the Query class. |
Query(String, String, String, String, ImageObject) |
Initializes a new instance of the Query class. |
Query()
Initializes a new instance of the Query class.
public Query ();
Public Sub New ()
Applies to
Query(String, String, String, String, ImageObject)
Initializes a new instance of the Query class.
public Query (string text, string displayText = default, string webSearchUrl = default, string searchLink = default, Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.ImageObject thumbnail = default);
new Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.Query : string * string * string * string * Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.ImageObject -> Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.Query
Public Sub New (text As String, Optional displayText As String = Nothing, Optional webSearchUrl As String = Nothing, Optional searchLink As String = Nothing, Optional thumbnail As ImageObject = Nothing)
Parameters
- text
- String
The query string. Use this string as the query term in a new search request.
- displayText
- String
The display version of the query term. This version of the query term may contain special characters that highlight the search term found in the query string. The string contains the highlighting characters only if the query enabled hit highlighting
- webSearchUrl
- String
The URL that takes the user to the Bing search results page for the query.Only related search results include this field.
- searchLink
- String
- thumbnail
- ImageObject