Share via


TextAnalyticsModelFactory.RecognizePiiEntitiesResultCollection Method

Definition

Initializes a new instance of RecognizePiiEntitiesResultCollection for mocking purposes.

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

Parameters

statistics
TextDocumentBatchStatistics

Sets the Statistics property.

modelVersion
String

Sets the ModelVersion property.

Returns

A new instance of RecognizePiiEntitiesResultCollection for mocking purposes.

Applies to