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

TextAnalyticsModelFactory.ClassifyDocumentResultCollection Method

Definition

Initializes a new instance of ClassifyDocumentResultCollection for mocking purposes.

public static Azure.AI.TextAnalytics.ClassifyDocumentResultCollection ClassifyDocumentResultCollection(System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.ClassifyDocumentResult> classificationResultList, Azure.AI.TextAnalytics.TextDocumentBatchStatistics statistics, string projectName, string deploymentName);
static member ClassifyDocumentResultCollection : seq<Azure.AI.TextAnalytics.ClassifyDocumentResult> * Azure.AI.TextAnalytics.TextDocumentBatchStatistics * string * string -> Azure.AI.TextAnalytics.ClassifyDocumentResultCollection
Public Shared Function ClassifyDocumentResultCollection (classificationResultList As IEnumerable(Of ClassifyDocumentResult), statistics As TextDocumentBatchStatistics, projectName As String, deploymentName As String) As ClassifyDocumentResultCollection

Parameters

classificationResultList
IEnumerable<ClassifyDocumentResult>

Sets the collection of ClassifyDocumentResultCollection.

statistics
TextDocumentBatchStatistics

Sets the Statistics property.

projectName
String

Sets the ProjectName property.

deploymentName
String

Sets the DeploymentName property.

Returns

A new instance of ClassifyDocumentResultCollection for mocking purposes.

Applies to