Dela via


TextAnalyticsModelFactory.AnalyzeSentimentResultCollection Method

Definition

Initializes a new instance of AnalyzeSentimentResultCollection for mocking purposes.

public static Azure.AI.TextAnalytics.AnalyzeSentimentResultCollection AnalyzeSentimentResultCollection (System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.AnalyzeSentimentResult> list, Azure.AI.TextAnalytics.TextDocumentBatchStatistics statistics, string modelVersion);
static member AnalyzeSentimentResultCollection : seq<Azure.AI.TextAnalytics.AnalyzeSentimentResult> * Azure.AI.TextAnalytics.TextDocumentBatchStatistics * string -> Azure.AI.TextAnalytics.AnalyzeSentimentResultCollection
Public Shared Function AnalyzeSentimentResultCollection (list As IEnumerable(Of AnalyzeSentimentResult), statistics As TextDocumentBatchStatistics, modelVersion As String) As AnalyzeSentimentResultCollection

Parameters

statistics
TextDocumentBatchStatistics

Sets the Statistics property.

modelVersion
String

Sets the ModelVersion property.

Returns

A new instance of AnalyzeSentimentResultCollection for mocking purposes.

Applies to