Udostępnij za pośrednictwem


NewsTopic Constructors

Definition

Overloads

NewsTopic()

Initializes a new instance of the NewsTopic class.

NewsTopic(String, String, String, String, ImageObject, String, String, String, Nullable<Boolean>, Query, String)

Initializes a new instance of the NewsTopic class.

NewsTopic()

Initializes a new instance of the NewsTopic class.

public NewsTopic ();
Public Sub New ()

Applies to

NewsTopic(String, String, String, String, ImageObject, String, String, String, Nullable<Boolean>, Query, String)

Initializes a new instance of the NewsTopic class.

public NewsTopic (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, bool? isBreakingNews = default, Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Query query = default, string newsSearchUrl = default);
new Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.NewsTopic : string * string * string * string * Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.ImageObject * string * string * string * Nullable<bool> * Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Query * string -> Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.NewsTopic
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, Optional isBreakingNews As Nullable(Of Boolean) = Nothing, Optional query As Query = Nothing, Optional newsSearchUrl 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.

isBreakingNews
Nullable<Boolean>

A Boolean value that indicates whether the topic is considered breaking news. If the topic is considered breaking news, the value is true.

query
Query

A search query term that returns this trending topic.

newsSearchUrl
String

The URL to the Bing News search results for the search query term

Applies to