IndexDocumentsBatch.Upload<T>(IEnumerable<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.
Create an IndexDocumentsBatch<T> to upload.
public static Azure.Search.Documents.Models.IndexDocumentsBatch<T> Upload<T> (System.Collections.Generic.IEnumerable<T> documents);
static member Upload : seq<'T> -> Azure.Search.Documents.Models.IndexDocumentsBatch<'T>
Public Shared Function Upload(Of T) (documents As IEnumerable(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
- documents
- IEnumerable<T>
The documents to upload.
Returns
An IndexDocumentsBatch<T> to upload.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET