Udostępnij za pośrednictwem


Thing Constructors

Definition

Overloads

Thing()

Initializes a new instance of the Thing class.

Thing(String, String, String, String, ImageObject, String, String, String)

Initializes a new instance of the Thing class.

Thing()

Initializes a new instance of the Thing class.

public Thing ();
Public Sub New ()

Applies to

Thing(String, String, String, String, ImageObject, String, String, String)

Initializes a new instance of the Thing class.

public Thing (string id = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.ImageObject image = default, string description = default, string alternateName = default, string bingId = default);
new Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Thing : string * string * string * string * Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.ImageObject * string * string * string -> Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Thing
Public Sub New (Optional id 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)

Parameters

id
String

A String identifier.

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.

Applies to