IndexDocumentsBatch.Create<T>(IndexDocumentsAction<T>[]) 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.
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.