你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TextAnalyticsModelFactory.DetectLanguageResultCollection Method

Definition

Initializes a new instance of DetectLanguageResultCollection for mocking purposes.

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

Parameters

list
IEnumerable<DetectLanguageResult>

Sets the collection of DetectLanguageResult.

statistics
TextDocumentBatchStatistics

Sets the Statistics property.

modelVersion
String

Sets the ModelVersion property.

Returns

A new instance of DetectLanguageResultCollection for mocking purposes.

Applies to