News Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a news answer.
public class News : Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.SearchResultsAnswer
type News = class
inherit SearchResultsAnswer
Public Class News
Inherits SearchResultsAnswer
- Inheritance
Constructors
News() |
Initializes a new instance of the News class. |
News(IList<NewsArticle>, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>, String) |
Initializes a new instance of the News class. |
Properties
FollowUpQueries | (Inherited from Answer) |
Id |
Gets a String identifier. (Inherited from Identifiable) |
IsFamilyFriendly | (Inherited from SearchResultsAnswer) |
Location | |
QueryContext | (Inherited from SearchResultsAnswer) |
TotalEstimatedMatches |
Gets the estimated number of webpages that are relevant to the query. Use this number along with the count and offset query parameters to page the results. (Inherited from SearchResultsAnswer) |
Value |
Gets or sets an array of NewsArticle objects that contain information about news articles that are relevant to the query. If there are no results to return for the request, the array is empty. |
WebSearchUrl |
Gets the URL To Bing's search result for this item. (Inherited from Response) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET