ImageObject 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
ImageObject() |
Initializes a new instance of the ImageObject class. |
ImageObject(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, ImageObject, String, String, String, String) |
Initializes a new instance of the ImageObject class. |
ImageObject()
Initializes a new instance of the ImageObject class.
public ImageObject ();
Public Sub New ()
Applies to
ImageObject(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, ImageObject, String, String, String, String)
Initializes a new instance of the ImageObject class.
public ImageObject (string id = default, string readLink = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject image = default, string description = default, string alternateName = default, string bingId = default, string thumbnailUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.Thing> provider = default, string text = default, string contentUrl = default, string hostPageUrl = default, string contentSize = default, string encodingFormat = default, string hostPageDisplayUrl = default, int? width = default, int? height = default, Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject thumbnail = default, string imageInsightsToken = default, string imageId = default, string accentColor = default, string visualWords = default);
new Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject : string * string * string * string * string * Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.Thing> * string * string * string * string * string * string * Nullable<int> * Nullable<int> * Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject * string * string * string * string -> Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject
Public Sub New (Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional name As String = Nothing, Optional url As String = Nothing, Optional image As ImageObject = Nothing, Optional description As String = Nothing, Optional alternateName As String = Nothing, Optional bingId As String = Nothing, Optional thumbnailUrl As String = Nothing, Optional provider As IList(Of Thing) = Nothing, Optional text As String = Nothing, Optional contentUrl As String = Nothing, Optional hostPageUrl As String = Nothing, Optional contentSize As String = Nothing, Optional encodingFormat As String = Nothing, Optional hostPageDisplayUrl As String = Nothing, Optional width As Nullable(Of Integer) = Nothing, Optional height As Nullable(Of Integer) = Nothing, Optional thumbnail As ImageObject = Nothing, Optional imageInsightsToken As String = Nothing, Optional imageId As String = Nothing, Optional accentColor As String = Nothing, Optional visualWords As String = Nothing)
Parameters
- 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.
- name
- String
The name of the thing represented by this object.
- url
- String
The URL to get more information about the thing represented by this object.
- image
- ImageObject
An image of the item.
- description
- String
A short description of the item.
- alternateName
- String
An alias for the item
- bingId
- String
An ID that uniquely identifies this item.
- thumbnailUrl
- String
The URL to a thumbnail of the item.
- text
- String
Text content of this creative work
- contentUrl
- String
Original URL to retrieve the source (file) for the media object (e.g the source URL for the image).
- hostPageUrl
- String
URL of the page that hosts the media object.
- contentSize
- String
Size of the media object content (use format "value unit" e.g "1024 B").
- encodingFormat
- String
Encoding format (e.g mp3, mp4, jpeg, etc).
- hostPageDisplayUrl
- String
Display URL of the page that hosts the media object.
- thumbnail
- ImageObject
The URL to a thumbnail of the image
- imageInsightsToken
- String
The token that you use in a subsequent call to the Image Search API to get additional information about the image. For information about using this token, see the insightsToken query parameter.
- imageId
- String
Unique Id for the image
- accentColor
- String
A three-byte hexadecimal number that represents the color that dominates the image. Use the color as the temporary background in your client until the image is loaded.
- visualWords
- String
Visual representation of the image. Used for getting more sizes
Applies to
Azure SDK for .NET