Share via


Recipe Constructors

Definition

Overloads

Recipe()

Initializes a new instance of the Recipe class.

Recipe(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, String, String, String, String)

Initializes a new instance of the Recipe class.

Recipe()

Initializes a new instance of the Recipe class.

public Recipe ();
Public Sub New ()

Applies to

Recipe(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, String, String, String, String)

Initializes a new instance of the Recipe class.

public Recipe (string id = default, string readLink = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageObject image = default, string description = default, string alternateName = default, string bingId = default, string thumbnailUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Thing> provider = default, string datePublished = default, string text = default, string cookTime = default, string prepTime = default, string totalTime = default);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Recipe : string * string * string * string * string * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageObject * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Thing> * string * string * string * string * string -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Recipe
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 cookTime As String = Nothing, Optional prepTime As String = Nothing, Optional totalTime 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.

provider
IList<Thing>

The source of the creative work.

datePublished
String

The date on which the CreativeWork was published.

text
String

Text content of this creative work

cookTime
String

The amount of time the food takes to cook. For example, PT25M. For information about the time format, see http://en.wikipedia.org/wiki/ISO_8601#Durations.

prepTime
String

The amount of time required to prepare the ingredients. For example, PT15M. For information about the time format, see http://en.wikipedia.org/wiki/ISO_8601#Durations.

totalTime
String

The total amount of time it takes to prepare and cook the recipe. For example, PT45M. For information about the time format, see http://en.wikipedia.org/wiki/ISO_8601#Durations.

Applies to