Condividi tramite


Recipe Class

Definition

Defines a cooking recipe.

public class Recipe : Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.CreativeWork
type Recipe = class
    inherit CreativeWork
Public Class Recipe
Inherits CreativeWork
Inheritance

Constructors

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.

Properties

AlternateName

Gets an alias for the item

(Inherited from Thing)
BingId

Gets an ID that uniquely identifies this item.

(Inherited from Thing)
CookTime

Gets 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.

DatePublished

Gets the date on which the CreativeWork was published.

(Inherited from CreativeWork)
Description

Gets a short description of the item.

(Inherited from Thing)
Id

Gets a String identifier.

(Inherited from Identifiable)
Image

Gets an image of the item.

(Inherited from Thing)
Name

Gets the name of the thing represented by this object.

(Inherited from Thing)
PrepTime

Gets 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.

Provider

Gets the source of the creative work.

(Inherited from CreativeWork)
ReadLink

Gets the URL that returns this resource.

(Inherited from Response)
Text

Gets text content of this creative work

(Inherited from CreativeWork)
ThumbnailUrl

Gets the URL to a thumbnail of the item.

(Inherited from CreativeWork)
TotalTime

Gets 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.

Url

Gets the URL to get more information about the thing represented by this object.

(Inherited from Thing)
WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)

Applies to