TextAnalyticsModelFactory.DetectLanguageResultCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET