Share via


IndexDocumentsBatch.Create<T>(IndexDocumentsAction<T>[]) Method

Definition

Creates a new IndexDocumentsBatch<T> for uploading documents to the index.

public static Azure.Search.Documents.Models.IndexDocumentsBatch<T> Create<T> (params Azure.Search.Documents.Models.IndexDocumentsAction<T>[] actions);
static member Create : Azure.Search.Documents.Models.IndexDocumentsAction<'T>[] -> Azure.Search.Documents.Models.IndexDocumentsBatch<'T>
Public Shared Function Create(Of T) (ParamArray actions As IndexDocumentsAction(Of T)()) As IndexDocumentsBatch(Of T)

Type Parameters

T

The .NET type that maps to the index schema. Instances of this type can be retrieved as documents from the index.

Parameters

actions
IndexDocumentsAction<T>[]

The document write actions.

Returns

An IndexDocumentsBatch<T> to update.

Applies to