News Constructors
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.
Overloads
News() |
Initializes a new instance of the News class. |
News(IList<NewsArticle>, String, String, IList<Query>, Nullable<Int64>, String) |
Initializes a new instance of the News class. |
News()
Initializes a new instance of the News class.
public News ();
Public Sub New ()
Applies to
News(IList<NewsArticle>, String, String, IList<Query>, Nullable<Int64>, String)
Initializes a new instance of the News class.
public News (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.NewsArticle> value, string id = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Query> followUpQueries = default, long? totalEstimatedMatches = default, string location = default);
new Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.News : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.NewsArticle> * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Query> * Nullable<int64> * string -> Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.News
Public Sub New (value As IList(Of NewsArticle), Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional followUpQueries As IList(Of Query) = Nothing, Optional totalEstimatedMatches As Nullable(Of Long) = Nothing, Optional location As String = Nothing)
Parameters
- value
- IList<NewsArticle>
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.
- id
- String
A String identifier.
- webSearchUrl
- String
The URL To Bing's search result for this item.
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.
- location
- String
Location of local news
Applies to
Azure SDK for .NET