Show / Hide Table of Contents

    Class MediaObject

    Inheritance
    Object
    ResponseBase
    Identifiable
    Response
    Thing
    CreativeWork
    MediaObject
    ImageObject
    Inherited Members
    CreativeWork.Provider
    CreativeWork.Text
    CreativeWork.ThumbnailUrl
    Identifiable.Id
    Response.ReadLink
    Response.WebSearchUrl
    Thing.AlternateName
    Thing.BingId
    Thing.Description
    Thing.Image
    Thing.Name
    Thing.Url
    Namespace: Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models
    Assembly: Microsoft.Azure.CognitiveServices.Search.BingCustomImageSearch.dll
    Syntax
    public class MediaObject : Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.CreativeWork

    Constructors

    MediaObject()

    Declaration
    public MediaObject ();

    MediaObject(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>)

    Declaration
    public MediaObject (string id = null, string readLink = null, string webSearchUrl = null, string name = null, string url = null, Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject image = null, string description = null, string alternateName = null, string bingId = null, string thumbnailUrl = null, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.Thing> provider = null, string text = null, string contentUrl = null, string hostPageUrl = null, string contentSize = null, string encodingFormat = null, string hostPageDisplayUrl = null, Nullable<int> width = null, Nullable<int> height = null);
    Parameters
    String id

    String readLink

    String webSearchUrl

    String name

    String url

    ImageObject image

    String description

    String alternateName

    String bingId

    String thumbnailUrl

    IList<Thing> provider

    String text

    String contentUrl

    String hostPageUrl

    String contentSize

    String encodingFormat

    String hostPageDisplayUrl

    Nullable<Int32> width

    Nullable<Int32> height

    Properties

    ContentSize

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

    ContentUrl

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

    EncodingFormat

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

    Height

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="height")]
    public Nullable<int> Height { get; }
    Property Value
    Nullable<Int32>

    HostPageDisplayUrl

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

    HostPageUrl

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

    Width

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="width")]
    public Nullable<int> Width { get; }
    Property Value
    Nullable<Int32>

    Back to top Azure SDK for Net