ImageRecipesAction 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
ImageRecipesAction() |
Initializes a new instance of the ImageRecipesAction class. |
ImageRecipesAction(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, String, IList<Thing>, String, Nullable<Boolean>, String, String, RecipesModule) |
Initializes a new instance of the ImageRecipesAction class. |
ImageRecipesAction()
Initializes a new instance of the ImageRecipesAction class.
public ImageRecipesAction ();
Public Sub New ()
Applies to
ImageRecipesAction(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, String, IList<Thing>, String, Nullable<Boolean>, String, String, RecipesModule)
Initializes a new instance of the ImageRecipesAction class.
public ImageRecipesAction (string id = default, string readLink = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageObject image = default, string description = default, string alternateName = default, string bingId = default, string thumbnailUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.Thing> provider = default, string datePublished = default, string text = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.Thing> result = default, string displayName = default, bool? isTopAction = default, string serviceUrl = default, string actionType = default, Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.RecipesModule data = default);
new Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageRecipesAction : string * string * string * string * string * Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageObject * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.Thing> * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.Thing> * string * Nullable<bool> * string * string * Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.RecipesModule -> Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageRecipesAction
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 datePublished As String = Nothing, Optional text As String = Nothing, Optional result As IList(Of Thing) = Nothing, Optional displayName As String = Nothing, Optional isTopAction As Nullable(Of Boolean) = Nothing, Optional serviceUrl As String = Nothing, Optional actionType As String = Nothing, Optional data As RecipesModule = Nothing)
Parameters
- id
- String
A String identifier.
- readLink
- String
The URL that returns this resource. To use the URL, append query parameters as appropriate and include the Ocp-Apim-Subscription-Key header.
- 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.
- datePublished
- String
The date on which the CreativeWork was published.
- text
- String
Text content of this creative work.
- displayName
- String
A display name for the action.
- serviceUrl
- String
Use this URL to get additional data to determine how to take the appropriate action. For example, the serviceUrl might return JSON along with an image URL.
- actionType
- String
A string representing the type of action.
- data
- RecipesModule
A list of recipes related to the image.
Applies to
Azure SDK for .NET