共用方式為


SearchModelFactory.IndexDocumentsResult Method

Definition

Initializes a new instance of IndexDocumentsResult.

public static Azure.Search.Documents.Models.IndexDocumentsResult IndexDocumentsResult (System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.IndexingResult> results);
static member IndexDocumentsResult : seq<Azure.Search.Documents.Models.IndexingResult> -> Azure.Search.Documents.Models.IndexDocumentsResult
Public Shared Function IndexDocumentsResult (results As IEnumerable(Of IndexingResult)) As IndexDocumentsResult

Parameters

results
IEnumerable<IndexingResult>

The list of status information for each document in the indexing request.

Returns

A new IndexDocumentsResult instance for mocking.

Applies to