Show / Hide Table of Contents

    Class Query

    Inheritance
    Object
    Query
    Namespace: Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models
    Assembly: Microsoft.Azure.CognitiveServices.Search.BingCustomImageSearch.dll
    Syntax
    public class Query

    Constructors

    Query()

    Declaration
    public Query ();

    Query(String, String, String, String, ImageObject)

    Declaration
    public Query (string text, string displayText = null, string webSearchUrl = null, string searchLink = null, Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject thumbnail = null);
    Parameters
    String text

    String displayText

    String webSearchUrl

    String searchLink

    ImageObject thumbnail

    Properties

    DisplayText

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="displayText")]
    public string DisplayText { get; }
    Property Value
    String

    SearchLink

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="searchLink")]
    public string SearchLink { get; }
    Property Value
    String

    Text

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="text")]
    public string Text { get; set; }
    Property Value
    String

    Thumbnail

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="thumbnail")]
    public Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject Thumbnail { get; }
    Property Value
    ImageObject

    WebSearchUrl

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="webSearchUrl")]
    public string WebSearchUrl { get; }
    Property Value
    String

    Methods

    Validate()

    Declaration
    public virtual void Validate ();
    Back to top Azure SDK for Net