次の方法で共有


News コンストラクター

定義

オーバーロード

News()

News クラスの新しいインスタンスを初期化します。

News(IList<NewsArticle>, String, String, IList<Query>, Nullable<Int64>, String)

News クラスの新しいインスタンスを初期化します。

News()

News クラスの新しいインスタンスを初期化します。

public News();
Public Sub New ()

適用対象

News(IList<NewsArticle>, String, String, IList<Query>, Nullable<Int64>, String)

News クラスの新しいインスタンスを初期化します。

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)

パラメーター

value
IList<NewsArticle>

クエリに関連するニュース記事に関する情報を含む NewsArticle オブジェクトの配列。 要求に対して返される結果がない場合、配列は空です。

id
String

文字列識別子。

webSearchUrl
String

このアイテムの検索結果をBingする URL。

followUpQueries
IList<Query>
totalEstimatedMatches
Nullable<Int64>

クエリに関連する Web ページの推定数。 この数値を count および offset クエリ パラメーターと共に使用して、結果をページングします。

location
String

ローカル ニュースの場所

適用対象