Share via


NewsTopic Class

Definition

[Newtonsoft.Json.JsonObject("News/Topic")]
public class NewsTopic : Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Thing
[<Newtonsoft.Json.JsonObject("News/Topic")>]
type NewsTopic = class
    inherit Thing
Public Class NewsTopic
Inherits Thing
Inheritance
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

AlternateName

Gets an alias for the item

(Inherited from Thing)
BingId

Gets an ID that uniquely identifies this item.

(Inherited from Thing)
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)
IsBreakingNews

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

Name

Gets the name of the thing represented by this object.

(Inherited from Thing)
NewsSearchUrl

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

Query

Gets a search query term that returns this trending topic.

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)

Methods

Validate()

Validate the object.

Applies to